How it works
- Check the workspace.
get_integration_statewithquery: {kind: "workspace"}confirms which workspace the data will land in, who is signed in, which providers are supported and what’s already connected. - Authorize the provider.
connect_integrationwith aproviderreturns an authorization link. Zendesk needs its subdomain and Intercom its region (us,euorau); Slack and Gong need only the source. The user opens it, signs in to the same Rippit account and authorizes the provider in the browser. For Gong, they enter the access key, secret and subdomain there. Credentials never pass through the API or your assistant. - Confirm it’s authorized.
get_integration_statewithquery: {kind: "request", request_id}reports when the authorization is complete. Authorized is not the same as imported. - Start the import.
import_integrationwithaction: "start", plus thesource,account_idandetl_idfrom the previous step. Choose how much history to pull withhistory_days. - Watch it.
get_integration_statewithquery: {kind: "connection", ...}reports progress. When it’s ready,status.workspaceTableIdis the table to query.
list_active_integrations lists every connection in the workspace with its ids.
Good to know
- Authorization links are for the person who requested them, and stay open for 30 minutes. Check a pending link with
get_integration_statebefore creating another. - Starting an import again on a connection that’s importing or ready reports its current state. It doesn’t restart it or extend its history.
- A failed import can be retried with
action: "retry". A retry keeps the original history and field choices. - Slack imports only see channels the Rippit bot has been added to.
- A ready import doesn’t guarantee every conversation in the history window has arrived. Check coverage with
describe_tablebefore reporting totals.