campaignstack_link_integration
Make an integration the user already connected (apollo, instantly, clay, hubspot) available in another of their workspaces, without asking for the API key again. Call this after campaignstack_create_workspace when campaignstack_list_integrations on the new workspace comes back empty and the user has the provider elsewhere. The key is copied server-side and never returned. No-op when the workspace already has that provider. Refuses when the user has no connected integration of that provider anywhere; connect one first with campaignstack_connect_apollo, campaignstack_connect_instantly or campaignstack_connect_hubspot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Which integration to make available. | |
| workspaceId | Yes | Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach. The workspace that should get the integration. | |
| fromWorkspaceId | No | Only when the user has this provider connected in several workspaces: which one to copy from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| workspaceId | No | ||
| alreadyLinked | No | ||
| integrationId | No | ||
| sourceWorkspaceId | No |