growsurf_get_integration_connect_link
Get a dashboard link to connect integrations like Stripe, PayPal, or Mailchimp in GrowSurf. Provide the integration key and optional campaign ID to open its connect panel.
Instructions
Return a dashboard link that opens a specific integration's connect panel in the GrowSurf Program Editor (Options > Integrations). Use this whenever a user says they want to connect an integration, for example "connect Stripe", "set up PayPal or Wise payouts", "send Tango Card gift cards", or "sync signups to Mailchimp": call it with the integration key and give the user the returned url to open. Connecting an integration happens in the dashboard, not through the API. GrowSurf cannot link a Stripe, PayPal, Wise, or other account on the user's behalf, so hand them the link. integration must be one of the supported keys (some are camelCase, e.g. constantContact, helpScout). The link points at GROWSURF_CAMPAIGN_ID; pass campaignId to target a different program. Chargebee, Recurly, and Tango Card apply to referral programs only. Wise applies to affiliate programs only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | No | Target program for the link. Defaults to GROWSURF_CAMPAIGN_ID. | |
| integration | Yes | The integration to connect. Must exactly match one of the supported keys (for example `wisecom`; some are camelCase, e.g. `constantContact`, `campaignMonitor`, `helpScout`, `pabblyConnect`, `baskHealth`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Dashboard link that opens the integration's connect panel. | |
| note | No | Instructions to relay to the user. | |
| label | No | Human-readable integration name. | |
| category | No | The integration's category. | |
| integration | No | The integration key that was requested. | |
| referralOnly | No | `true` when the integration applies to referral programs only. | |
| affiliateOnly | No | `true` when the integration applies to affiliate programs only. |