Integrations
Open Settings, then choose the Connections area to connect Kasbly to channels, tools, apps, and plugins.
The Connections area lists these goals (type the title into Search settings… to jump to one):
- Add a ready-made setup — install a Marketplace pack. Store packs (Salla, Zid, Shopify, WooCommerce, TikTok Shop) still need a second Connect your store step.
- Industry plugins — open installed plugins and their configuration.
- Connect WhatsApp, tools & apps — manage API integrations and AI capabilities.
- Let AI apps work in Kasbly — connect Claude, ChatGPT, and other AI apps (MCP) with only the permissions you approve.
- Get the daily digest, Slack alerts & scheduled reports — choose notification and alert delivery.
- Send customers payment links — Stripe Checkout links the assistant can create when a customer is ready to pay.
These goals stay off the Connections list (deep links still open them): Connect WhatsApp Business, See which channels are working, and Turn features on/off. Use WhatsApp and Features instead of searching those titles.
Use Search settings… to find a listed goal directly. Open a goal card for its summary and controls; when a card offers a full-page action such as Manage integrations, use it for the complete editor.
For programmatic access with your own keys, open the Developer keys goal in People & access, or see API Keys.
Connect your store
Section titled “Connect your store”Store packs stay silent until the store is connected. Install the pack from Add a ready-made setup, then press Manage connection (or Connect your Salla store during setup). See Connect your store for Salla (save the store ID and install the Kasbly app), Zid / Shopify / TikTok Shop (authorize), and WooCommerce (consumer key, secret, webhook signing secret, Retry order updates).
Custom CRM API contract
Section titled “Custom CRM API contract”Choose Custom CRM (API) when your CRM exposes a REST endpoint. Kasbly sends
Authorization: Bearer <API key> and JSON to these paths:
GET /health(or the base URL) checks the connection.POST /contactsreceives{ contacts: [...] }; each contact hasid,phone,name,email,city,language,tags,customFields, andleadScore.GET /contacts?since=<ISO-8601>returns an array,{ data: [...] },{ contacts: [...] }, or{ results: [...] }using those same fields.POST /dealsreceives{ deals: [...] }; each deal hasid,customerId,customerPhone,customerEmail,customerName,stage,value,currency, andtitle.GET /deals?since=<ISO-8601>returns one of the same array envelopes and the same deal fields.POST /deals/{id}/stageupdates one deal’s stage. Send{ stageId, externalStageId }, with the same external stage ID in both fields.stageIdis the external stage ID you enter in the CRM Stage Mapping table.
Pull pagination
Section titled “Pull pagination”A bare array is a complete pull result. Do not return only one page in a bare array: Kasbly treats it as the full set and advances the incremental sync watermark after it is persisted.
For a paginated GET /contacts or GET /deals response, use one of these
object envelopes (with data, contacts, deals, or results as the record
array):
- Return
{ data: [...], next: "opaque-next-cursor" }to continue by cursor. Kasbly sends that value back as?cursor=opaque-next-cursor, together withsincewhen present. Omitnexton the final page. - Or return
{ data: [...], cursor: "opaque-next-cursor", hasMore: true }. Kasbly sendscursorback the same way. SethasMore: false(or omit it) on the final page. - Or return
{ data: [...], page: 1, hasMore: true }. Kasbly requests the following page with?page=2; return the current numeric page on every response and sethasMore: falseon the final page.
Order records across pages from oldest to newest by updatedAt. Return only
records modified after the since lower bound (updatedAt strictly greater
than since). A pull is limited to 500 pages as a safety measure. If that cap
is reached, Kasbly finishes importing records that share the newest received
timestamp (bounded) before storing that timestamp as the watermark, so the next
exclusive since pull continues with strictly newer records.
For two-way sync, return a stable id and a customerPhone for every deal.
When the associated person has no phone, include customerEmail so Kasbly can
match an existing customer by email; an unmatched email-only person is skipped
with recovery guidance in Sync History.
The id Kasbly sends on POST /deals is the originating Kasbly conversation
id. Echo that same id back unchanged on GET /deals (or return it
separately as kasblyRecordId, conversationId, or kasbly_conversation_id
if your CRM assigns its own id) so the next pull relinks the conversation the
deal was pushed from instead of creating a duplicate.
Use the CRM Stage Mapping table to map each incoming stage value to a
Kasbly lifecycle stage. Omit a field your CRM does not know rather than sending
an empty replacement value.
The stage Kasbly sends on POST /deals is the external stage ID from that
same table, matching POST /deals/{id}/stage. A lifecycle stage with no
outbound mapping is pushed without a stage, so your CRM keeps the stage it
already has instead of receiving a Kasbly stage name.
Inbound custom CRM webhooks
Section titled “Inbound custom CRM webhooks”To send a stage or contact change from your CRM to Kasbly, POST the event to
/api/v1/webhooks/crm/custom. Include the tenant ID for the Kasbly workspace that
uses Custom CRM (API) in X-Tenant-Id. With two-way sync enabled, this
workspace ID is shown next to the webhook setup instructions on the Custom
CRM (API) settings card, with a button to copy it.
Authenticate the request with either of these forms:
Authorization: Bearer <API key>, using the API key configured for the Custom CRM connection.X-Webhook-Secret: <signature>, wheresignatureis the lowercase hex HMAC-SHA256 of the raw JSON request body, keyed with the dedicated webhook secret shown once after you save the Custom CRM connection. Copy that secret before leaving the settings page. Existing integrations that sign with the configured API key remain supported for compatibility, but new integrations should use the dedicated webhook secret.
The payload may put event data at the top level or in data or payload.
Use event or type to identify an event; values containing deal or
opportunity are handled as deal events, while values containing contact or
lead are handled as contact events. For a stage change, send the external
deal ID in one of id, external_id, objectId, object_id, record_id, or
resource_id, and the external stage in one of newStageId, new_stage_id,
newStageName, new_stage_name, externalStageId, external_stage_id,
externalStageName, external_stage_name, externalStage,
external_stage, stage_id, deal_stage, pipeline_stage, stage, or
pipeline. Contact matching accepts phone, phone_number, customerPhone,
customer_phone, person_phone, or contact_phone; it also accepts email,
customerEmail, customer_email, person_email, or contact_email.
Kasbly drops a delivery it has already queued, so a CRM that retries a failed
delivery does not sync the same change twice. A body that carries no event ID or
timestamp is treated as a retry only when an identical body arrives within about
a minute; the same body sent later (for example a deal moved back to an earlier
stage) is processed as a new event. To make retries safe at any delay, add an
event_id (or eventId) that is unique per event, or an occurred_at (or
occurredAt) timestamp, at the top level or inside data or payload.
Deleted deals and contacts
Section titled “Deleted deals and contacts”Kasbly does not infer a deletion from a record missing from GET /deals or
GET /contacts: the pull only creates and updates records. When a deal or
contact is deleted in your CRM, send a delete event so Kasbly removes the
matching contact and closes open conversations as Lost. Otherwise the next
outbound POST /deals sends it again and your CRM recreates the record you
deleted.
Set event (or type) to a value containing deal, opportunity, contact,
or lead together with delete or remove, for example deal.deleted,
opportunity.removed, or contact.deleted. Send the external record ID in one
of the ID fields listed above (id, external_id, objectId, object_id,
record_id, or resource_id). A delete event is acknowledged without pushing
anything back to your CRM.
Merged deals and contacts
Section titled “Merged deals and contacts”When you merge a duplicate into the record you keep, send a merge event instead of a delete event. Kasbly folds the duplicate into the kept record and keeps its conversations. A delete event for the duplicate would remove the customer and close its open conversations as Lost, which is wrong for a merge.
Set event (or type) to a value containing deal, opportunity, contact,
or lead together with merge, for example contact.merged, deal.merged, or
lead.merged. Send the ID of the record you keep in primaryId and the ID(s)
of the duplicate(s) in mergedIds (an array, or a single value), at the top
level or inside data or payload. primary_id and merged_ids are accepted
too. Use the same external IDs your CRM returns from GET /deals and
GET /contacts. A merge event without both IDs is ignored, and it is
acknowledged without pushing anything back to your CRM.
HubSpot CRM
Section titled “HubSpot CRM”HubSpot CRM uses OAuth and creates the properties Kasbly needs during connection. See the setup guide for the required deal identifier and how to reconnect a portal whose administrator permissions blocked setup.
Pipedrive CRM
Section titled “Pipedrive CRM”Pipedrive CRM uses OAuth and creates the deal and person fields Kasbly needs during connection. See the setup guide for the manual field names if an administrator must complete setup.
