Skip to main content

App Connections

An app connection links your Gravity Rail workspace to an external service — a CRM (HubSpot, Salesforce), a project management tool (Monday.com), an EHR (eClinicalWorks, Epic, Cerner, Athena, Healthie), a chat platform (Slack, Discord), or a custom tool server (MCP). Once connected, you can sync members and records, trigger automations from external events, and give your AI agents access to data and actions in those systems.

App Connections is the integration hub for your workspace. Every external service you wire up — whether it's a one-click OAuth integration like Gmail or a complex multi-board sync like Monday.com — appears here. The page consolidates platform integrations, MCP servers, Discord bots, Slack apps, FHIR connections, and CRM sync connections into a single browse-and-manage experience.

Setting up Connections
Find channels and connected apps. Read the transcript

Browsing Available Integrations​

Go to App Connections to open the integration hub. The page has two tabs:

  • Active — every connection currently configured in your workspace, under Enabled and Disabled.
  • Directory — every integration you can add, each with an Add button. Add MCP Server in the page header opens the MCP server create form; add every other integration from the Directory.

Filtering and Searching the Directory​

The Directory tab supports both search and category filters so you can quickly find an integration. The search text and the category are part of the page address, so you can bookmark or share a filtered Directory:

  • Search — type a name (e.g., "Monday", "Linear", "FHIR") in the search box.
  • Category filters — narrow by CRM, Healthcare, Communications, Scheduling, Documents, Knowledge Base, Project Management, Billing, Design, or Developer Tools.

The Directory lists integrations in sections by what each does (for example Gmail under Communications, Google Drive under Documents). Filtering to one category shows that section.

Each directory row shows the integration name, a short description and an icon. Rows for platform apps, MCP servers, FHIR connections, Slack apps and Discord bots also carry a small marker naming the connection type. When an integration you already have is recognized as added, its row shows a disabled Added button instead of Add. MCP Server is the row for a server that is not listed.

Connecting an Integration​

Most integrations use OAuth — you'll be redirected to the external service to authorize Gravity Rail, then sent back to your workspace once the grant is complete.

General OAuth Flow​

  1. On the Directory tab, find the integration you want
  2. Click Add. Nothing connects until you say so:
    • For CRM, billing and fax integrations (Salesforce, HubSpot, Monday.com, Documo, Claim.MD, Stedi), confirm Add. Gravity Rail opens the integration's page in a not-connected state.
    • For platform apps (such as Gmail) and MCP servers that ship a URL and need no secrets, confirm Add. Gravity Rail enables the app or creates the server, and you stay in the Directory.
    • For Confluence, Healthie and athenahealth, the integration's page opens in a not-connected state.
    • For integrations that need credentials or a URL before they can exist (Slack, Teams, Discord, FHIR, Zendesk, MCP servers with secret headers or no URL), a form asks for them. Submitting the form is the confirmation.
  3. Platform apps have no separate page: after the confirmation, press Connect on the app's row on the Active tab to link your account. MCP servers that need no secrets are ready as soon as they are created. On any other integration's page, press Connect and follow the setup:
    • For OAuth integrations: click Connect to launch the provider's authorization page, sign in with the account you want to use, and approve the requested scopes
    • For API key integrations (e.g., Healthie): paste the API key and submit
    • For URL-based integrations (e.g., custom MCP servers): paste the server URL and configure auth as prompted
  4. After the provider redirects you back, the connection shows as connected on the Active tab

Use a service account where possible. OAuth grants are tied to the user who authorized them. If that user leaves your organization or revokes Gravity Rail's access, the connection breaks. For production CRM, calendar, and EHR integrations, authorize with a dedicated service account rather than a personal one.

Custom MCP servers​

An MCP connection registers an MCP server that is already available at a URL; it does not create or host the server. In Directory, add MCP Server, enter its URL and connection details, then configure the authentication fields the server requires. Gravity Rail discovers the server's tools after connection. For EHR data, use an available FHIR connection when it fits; a custom MCP connection is for a separate MCP service your team operates.

Integration Guides​

Integration guideCategoryDirectory description
GmailCommunicationsIntegrate with Gmail to read and send emails from your Google account
Google CalendarSchedulingSync with Google Calendar
Google DriveDocumentsAccess Google Drive files and folders from your Google account
Google SheetsDocumentsCreate, read, and write Google Sheets spreadsheets from your Google account
HealthieHealthcareSync appointments and patients with Healthie EHR
SalesforceCrmConnect to Salesforce CRM to sync contacts, leads, and opportunities
HubSpotCrmConnect to HubSpot CRM to sync contacts
Monday.comProject ManagementIntegrate with Monday.com for project management and task tracking
ConfluenceKnowledge BaseSync Confluence pages and spaces to your knowledge base
Zendesk Help CenterKnowledge BaseMirror published articles from public Zendesk Help Center categories into an indexed knowledge folder
Documo FaxCommunicationsReceive faxes sent to your Documo (mFax) numbers and route them into a workflow
Claim.MDBillingCheck insurance eligibility, submit claims and read remittances through your practice's Claim.MD clearinghouse account
StediBillingConnect a practice Stedi account for eligibility, claims and remittances
Discord BotCommunicationsAdd a Discord bot to interact with servers and DMs
Slack AppCommunicationsAdd a Slack app to interact with workspaces
Microsoft Teams AppCommunicationsAdd a Microsoft Teams bot to interact with tenants and channels
FHIR ConnectionHealthcareConnect to any FHIR R4-compatible EHR
eClinicalWorksHealthcareConnect to eClinicalWorks EHR via FHIR R4
EpicHealthcareConnect to Epic EHR via FHIR R4
CernerHealthcareConnect to Cerner EHR via FHIR R4
athenahealthHealthcareConnect an athenahealth practice through the Gravity Rail app
MCP ServerDeveloper ToolsConnect any MCP server by URL
LinearProject ManagementManage issues, projects, and team workflows in Linear
SentryDeveloper ToolsQuery errors, issues, and debugging context from Sentry
NotionKnowledge BaseAccess and manage pages, databases, and content in Notion
DeepWikiKnowledge BaseSearch and query documentation from open source projects
PayPalBillingManage inventory, process payments, track shipping, and handle refunds with PayPal
NetSuiteBillingQuery invoices, payments, and customer accounts in NetSuite
dala.careHealthcareHome care platform — offices, care recipients, visits, care plans, and caregiver availability
Google StitchDesignGenerate UI designs and extract Design DNA from Google Stitch. Authenticate with a Stitch API key sent as the X-Goog-Api-Key header.

The workspace Directory only shows connections enabled for that workspace. The entries above are the public guide owners; plan and feature availability determine which appear in a given workspace.

Viewing Connected Apps and Their Status​

The Active tab is where you check on connections that are already wired up. Connections are listed under Enabled and Disabled, with a count for each. A disabled connection of any type sits under Disabled. Connection types include:

  • Platform Integrations — OAuth-based platform apps (Gmail, Google Calendar, etc.)
  • CRM, project management and knowledge connections — HubSpot, Salesforce, Monday.com, Confluence
  • Healthcare Connections — FHIR (eClinicalWorks, Epic, Cerner, Athena), Healthie
  • Billing and fax connections — Documo Fax, Claim.MD, Stedi
  • Help Center mirrors — Zendesk
  • MCP Servers — Linear, Sentry, Notion, DeepWiki, PayPal, NetSuite, dala.care, custom URLs
  • Discord Bots — configured Discord bot integrations
  • Slack Apps and Teams Apps — configured chat app integrations

Each row shows:

  • Name — the connection's display name (you can rename it in settings)
  • Status badge — for example Connected, Configuring, Disabled, Reconnect required, or Error. A Zendesk row shows its own sync badge instead
  • Sync status — on connections that sync records (HubSpot, Salesforce, Monday.com, Confluence, Zendesk, eClinicalWorks, athenahealth): a dot and a short line such as Synced 10m ago, Sync overdue · last activity 2h ago (the last successful sync is older than expected), Sync issue · last OK 1h ago or Last sync partial (the last run failed, or some records could not be matched), Not polled · last run succeeded (the regular sync check does not poll this connection: it syncs on its own schedule, as eClinicalWorks does, or when you run it, as Confluence does), Syncing paused · last OK 2d ago (or Syncing paused: the connection's authorization expired or was revoked, so nothing syncs until you reconnect it from the connection's page), or Freshness unknown
  • Action menu — the actions that apply to the row. Edit opens the connection's Settings tab (Healthie: Setup); Discord, MCP and FHIR rows (other than athenahealth) open an Edit dialog instead, a Zendesk row has Settings, and a Healthie row has only Edit. Enable or Disable is on rows that can be turned off. The last item is Disconnect (CRM, project management and Confluence connections) or Delete app (platform apps, MCP servers, chat apps, FHIR connections). Documo, Claim.MD and Stedi rows have no action menu: open the connection's page.

Click a connection's icon, name, or row body to open its detail page. Use Tab and Enter to open the same link from the keyboard. The expand arrow opens inline details; Connect, Disconnect, and the action menu work separately. Connections without a detail page keep their existing account or Settings controls.

Configuring an Active Connection​

After a connection is added, choose Edit from the row's action menu (or open the connection's detail page) to configure it.

Renaming a Connection​

Several integrations support multiple connections of the same type (for example, several Slack apps or several FHIR connections). Give each one a descriptive name so AI agents and automations pick the right one.

Slack apps, Teams apps, Discord bots, FHIR connections and Zendesk connections cannot share a name with another connection of the same type. The check ignores surrounding spaces and letter case, so Support, support and Support are the same name. Different types may share a name (a Slack app and a Teams app can both be Gravity Rail). Slack, Teams, and Zendesk mark the Name field when the name is taken; on the shared Gravity Rail Slack app, which has no Name field, the message appears under the App identity choice. Discord and FHIR show the refusal in a toast.

  1. Open the connection's settings
  2. Edit the Name field
  3. Click Save

Configuring Sync​

Sync-capable connections (HubSpot, Salesforce, Monday.com, FHIR/eClinicalWorks) support bidirectional data sync — keeping members and records in step between Gravity Rail and the external system. Sync is configured per entity type (member, record, calendar event, file).

For each entity type you want to sync:

  1. Open the connection's Settings tab. On the FHIR/eClinicalWorks page the same configuration lives on its Sync tab.
  2. Add or edit the entity sync config:
    • Outbound — push Gravity Rail data to the external system
    • Inbound — pull external data into Gravity Rail
    • Match Strategy — how to find existing records (typically by email, external ID, or phone)
    • Conflict Policy — for Member inbound rules, whether a synced value replaces an existing one (Remote wins) or is written only where no value is set (Keep local)
    • Filter — an optional CEL expression that limits which entities sync (e.g., source.email != '' && source.age >= 18); see the Developer CEL reference for context-dependent variables and functions. Where the filter uses the expression editor (Monday.com boards and Salesforce record mappings), it suggests only the variables that apply to what the filter syncs: a Member or a Data Type record.
    • Rules — named groups of field mappings, each with its own CEL transforms
    • Import option labels (HubSpot) — select an enum property to import its display name into the existing mapped field. See Import option labels.
    • Contact owners (HubSpot) — add each HubSpot contact owner as a Member and link each contact to its owner. See Contact owners.
  3. Click Save
  4. Open the Sync tab (the Logs tab on FHIR/eClinicalWorks) and click Sync Now to run an initial pass, or wait for the schedule to pick it up

To export whether a Member has texted STOP in Gravity Rail, select the Member entity or a Member board and add an outbound rule:

member.sms_opted_out ? "true" : "false"

source.sms_opted_out means the same thing. The scope is the whole organization, including its other workspaces' senders. The value is true while a texted keyword opt-out is active in the current ledger. A recorded clear lifts it, even when no START message exists in visible history. Use a dedicated CRM property, such as Texted STOP in Gravity Rail. A false value describes only Gravity Rail's STOP records. The CRM may hold a separate opt-out made elsewhere. Mapping this value to the CRM's own opt-out property would overwrite that state on the customer's behalf. If Gravity Rail cannot read the STOP state, it skips that Member's outbound write and retries the lookup on a later sync. Write preview shows that the SMS status is unavailable and returns no payload; retry after the service recovers. This value is not available on a Form record's owner Member root.

For a complete walkthrough of sync rules, CEL expressions, and field transforms, see HubSpot Sync — the same concepts apply to all sync-capable connectors.

When a Save Is Refused​

Gravity Rail checks sync settings when you save them. If something in them cannot work, nothing is saved: the editor keeps all of your unsaved changes and shows Sync settings were not saved with the reason. Below the reason, a second line usually says which rule or operation is at fault, and a short code identifies the problem if you contact support. Fix that operation, or turn it off, and save again. Turned-off rules are never checked.

The reasons you can see on most sync connections:

  • "An enabled inbound operation writes to a target this mapping cannot use. Choose a listed target, or disable the operation, then save again."
  • "An enabled inbound operation writes a Member property that sync cannot set. Choose a different target, or disable the operation, then save again."
  • "An enabled inbound operation writes to this connection’s Connection ID, which sync reads but never writes. Choose a different field, or disable the operation, then save again."
  • "An enabled notification opt-out names an unknown channel or has no condition. Choose SMS, calls, email or WhatsApp and write a condition that is true when the contact opted out, or disable the operation, then save again."
  • "This connection cannot remove a required entity type. Turn its sync directions off instead, then save again."
  • "This connection’s sync configuration changed since you opened it. Reload it, reapply your changes and save again." (code sync_config_changed) Someone else saved this connection’s sync settings while you were editing. Nothing of yours was saved: reload, compare your changes with what is saved now, apply them again and save. Monday.com’s own settings page does not make this check.
  • "You don’t have permission to read some of the data this outbound sync sends: a Member, a label, a Data Type or a field. Ask someone who already has that read access to save this mapping, or remove or disable the read, then save again. Turning off outbound sync for a mapping removes all of its reads."
  • "An outbound operation or filter reads data that cannot be checked: it names no single field, or the Data Type or field it names no longer exists. Read a supported field by name, or remove or disable the read, then save again. Turning off outbound sync for a mapping removes all of its reads."

The last two are about what an outbound sync reads, and every save checks every enabled outbound read, including ones you did not change: a mapping someone else set up can be refused when you save an unrelated change, if it reads something you cannot.

On HubSpot, Import option labels requires inbound Member sync and a supported property. Save checks newly enabled selections against HubSpot; it refuses unsupported properties, incomplete catalogs or a lookup timeout. Follow the displayed recovery message, or remove the selection. An enabled outbound mapping to a selected property must be disabled first: labels cannot be written back as HubSpot IDs.

On Salesforce related objects:

  • "An enabled related-object operation writes to a target related objects cannot use. Choose a Member property, Member field or label, or disable the operation, then save again."
  • "An enabled related-object operation has an expression that does not compile. Fix it, or disable the operation, then save again."

On Monday.com boards that write to a Data Type:

  • "An enabled Data Type operation does not name both a Data Type and a field. Choose a field, or disable the operation, then save again."
  • "An enabled Data Type operation writes a field its Data Type does not have, or one sync cannot write, such as a computed field. Choose another field, or disable the operation, then save again."
  • "You don’t have permission to write the records or fields an enabled Data Type operation targets. Ask an admin to save this mapping, or disable the operation, then save again."
  • "An enabled Data Type operation writes to a Data Type that is deleted, missing, a collection or shared by the whole workspace. A Member board writes one record per Member: choose a single-record Member Data Type, or disable the operation, then save again."
  • "This board writes to a Data Type you chose, so it needs an acting member. Select a workspace admin to authorize those writes, then save again."
  • "The board’s acting member no longer exists or is archived. Choose an active workspace admin, then save again."
  • "The board’s acting member must be a workspace admin who can create records in every Data Type its operations write. Choose another acting member, or grant that access, then save again."

athenahealth Data Type rules get the same target checks (there is no acting member on athenahealth). A refused save there shows a plain error message instead of this panel: it names the problem, the Data Type and the position of the operation in the rule, not the field, so use the position to find the operation.

"This conflict policy is no longer supported. Choose Remote wins or Keep local, then save again." A connection set up a while ago can still carry a conflict policy that has since been retired. Choose Remote wins or Keep local under Conflict policy, then save.

Seeing Where a Connection Keeps Its Data​

The Salesforce, HubSpot, Monday.com, eClinicalWorks and athenahealth connection pages have a read-only Data tab. It shows only the Data Types, fields and records you have access to, and it works whether or not sync is turned on. It has three sections.

Identity shows how the connection recognizes a Member in the other system. A Member's ID in that system is kept on the connection's link to the Member, never on a Data Type.

Datasets lists every set of data the connection keeps, with its Data Type, how many records you can read, the latest update among those records, and a state:

StateWhat it meansWhat to do
BoundThe connection's Data Type exists and is in use.Nothing.
Not created yetThe Data Type is created when the connection first needs it.Nothing. This is normal on a new connection.
Data Type deletedThe Data Type bound to this dataset was deleted. The connection does not replace it on its own.Contact Gravity Rail support before the connection needs that data.
No longer declaredA Data Type is still bound to this connection, but the connection no longer uses that dataset.Nothing. The Data Type and its records stay as they are.
RestrictedYou do not have access to this Data Type, so its name, count and date are hidden.Ask a workspace admin for access to the Data Type if you need it.

The record count and latest update cover only records you can read, so two people can see different numbers.

Field map shows where every mapped field lives in Gravity Rail, grouped by where its rules are saved: Member rules, Related object rules (Salesforce), Monday board rules or Data Type record mappings (Salesforce). Each row shows:

  • Field — the field's display name, with its key below it. Missing means the rule names a Data Type or field that no longer exists.
  • Home — what kind of place holds the value (for example Member, Record, Label or Member link) and, for a Data Type field, a link to that Data Type.
  • Direction — In, Out or Both. Off means nothing reads or writes that field right now: the connection is disabled, or the rule or that sync direction is turned off.
  • Remote field and Transform — the field in the other system and how the value is converted.

Salesforce, HubSpot and Monday.com keep their Synced fields on a Data Type named after the connection, such as "Salesforce member profile". See Data Types a connection manages. To see what one Member holds, open the Member's Data tab; see The Data Tab.

Write Preview for One Member​

On HubSpot, Salesforce and athenahealth, the Sync tab has Preview one Member's write under its run controls, beside Preview Sync. Choose a Member and click Preview write to see what the next sync would send for them: which record in the other system it would update, create or match, and every field value. Nothing is sent, and no link changes. If sync would skip the Member, the preview says Skip and why.

On HubSpot and Salesforce, the preview is not shown while the connection cannot sync (it needs reauthorization, or it is disconnected). On athenahealth it stays visible; if the connection needs reauthorization, the preview fails instead of being hidden. The preview is never shown when you do not have access to Members. Monday.com and eClinicalWorks do not offer it.

The preview follows your own access. If it would read any Data Type value you do not have access to, it shows no values at all, only: "This preview reads Data Type values you do not have access to, so it cannot be shown." Ask someone with access to those Data Types to run it.

Trust and Scope Settings​

Some integrations expose tools that AI agents can call (for example, "create a HubSpot note", "upsert a Monday.com item", or "look up a FHIR patient"). To control which agents can use them:

  1. Open the connection's Settings tab
  2. Review the Tools section — each tool lists the action it performs
  3. Toggle individual tools on or off
  4. For agent permissions, attach the connection's tools to a workflow's task or to an agent's abilities — see Custom Toolkits for the full ability-attachment flow

Principle of least privilege. Only grant the scopes and tools you actually need. If a workflow only needs to read Salesforce contacts, don't grant write access. Re-authorize the connection with a narrower scope set if your provider supports it.

Disconnecting and Revoking Access​

There are two ways to end a connection:

Disable​

Disable keeps the configuration in place but stops the connection from being used:

  1. On the Active tab, click the action menu next to the connection
  2. Choose Disable
  3. Confirm

A disabled connection can be re-enabled at any time without re-running OAuth. Use Disable when you want to pause a sync or temporarily stop AI agents from using a tool.

Disconnect and Delete app​

Disconnect (CRM, project management and Confluence connections) and Delete app (platform apps, MCP servers, chat apps, FHIR connections) remove the connection entirely, including stored OAuth tokens and configuration:

  1. On the Active tab, click the action menu next to the connection
  2. Choose Disconnect or Delete app
  3. Confirm — this is destructive

Sync rules, board mappings, and any custom configuration are deleted. To reconnect, add the integration again from the Directory tab and re-run setup.

Also revoke from the provider side. Disconnecting or deleting a connection in Gravity Rail removes our copy of the OAuth token, but most providers also keep their own record of the grant. To fully revoke access, sign in to the provider (e.g., HubSpot, Salesforce, Google) and remove the Gravity Rail integration from their connected-apps list.

Tips​

  • Authorize with a service account — OAuth grants are tied to a user. Personal accounts cause connections to break when people leave or revoke access.
  • Name connections descriptively — "Support — Production Slack" beats "Slack 2" when an agent has to pick between two.
  • Test sync on a small filter first — Add an outbound_filter like source.labels.exists(l, l == 'sync-test') to limit your first sync to a handful of test members before opening the floodgates.
  • Check the Active tab after every redeploy — a Reconnect required badge shows up here, or on the connection's page, when a token expires or a provider rotates secrets.
  • Disable, don't delete, when troubleshooting — Disabling preserves config so you can re-enable and inspect the same setup once the issue is resolved.

Troubleshooting​

"This app is blocked" on a Google Workspace account​

Personal @gmail.com accounts can connect Gmail, Calendar, Drive, and Sheets. Company Google accounts often cannot until a Google Workspace Super Admin marks Gravity Rail as Trusted. That is a domain policy, not a Gravity Rail setting. See Google Workspace Accounts for the client IDs and console steps. Sign-in with Google can still work on the same domain because login only asks who you are.

"Reconnect required" badge​

The provider's access token has expired, been revoked, or had its scopes changed. Open the connection and click Reconnect to re-run the OAuth flow with the same account. If the original authorizing user no longer has access, set up a new connection with a service account instead.

"Insufficient scopes" or "permission denied" errors​

The OAuth grant didn't include the scopes the integration needs. Common causes:

  • The user authorizing did not approve all requested scopes — re-run authorization and approve everything
  • The provider account lacks admin privileges for the requested resources (e.g., a Salesforce user without API access)
  • The integration was authorized before a new feature was added — disconnect and reconnect to pick up the new scope set

Sync isn't picking up changes​

  • Verify the entity has both Outbound (or Inbound) Enabled in the connection's Settings tab (Sync tab on FHIR/eClinicalWorks)
  • Check the filter CEL expression — if it returns false for your entity, sync skips it
  • Open the connection's detail page and look at Last Sync — repeated failures show their error messages there
  • For inbound sync, verify the provider's webhook or change-feed is reaching Gravity Rail — see Webhooks for the inbound paths

"Tool not found" or AI agent says it can't reach the integration​

  • Confirm the connection is on the Active tab and not Disabled
  • Verify the tool is enabled in the connection's Settings → Tools section
  • Check that the workflow task or agent ability has the integration's tools attached — see Custom Toolkits

Duplicate records appearing after sync​

The Match Strategy isn't finding existing records, so sync creates new ones. Common causes:

  • Match by email, but external records have empty or differently-cased emails
  • Match by external ID, but the IDs aren't populated yet on the Gravity Rail side
  • A new entity type was added without a match strategy

Switch to a different match key (e.g., email + phone fallback), populate the missing field, or run a one-time reconciliation from the connection's detail page.

Before you disconnect or delete a connection​

Deleting a connection also deletes its sync rules and board mappings, so anything relying on it stops working. This is what a row's Disconnect or Delete app does, and what the FHIR and athenahealth pages' header action does; a connection page's header Disconnect on the other vendor connections signs out and keeps the configuration.