Request connections
request_connectionsCreates a short link with one button per service, letting users securely connect required accounts without pasting secrets into chat.
Instructions
Create one short link the user opens to connect the services you name, with one button per service. Use the ids from check_setup's missingProviders, plus cloudflare if it is not connected. You cannot create a connection yourself, and must never ask the user to paste a secret into the chat: give them this link instead. Then poll check_setup with the returned sessionId and continue once connectionRequest.complete is true. Returns sessionId, connectUrl and expiresAt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| providers | Yes | Provider ids, e.g. ["google_gmail","slack","cloudflare"]. | |
| workflowId | No | The workflow this is for, if any. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiresAt | Yes | ||
| providers | Yes | ||
| sessionId | Yes | ||
| connectUrl | Yes |