Attach flow to CRM
attach_flow_to_crmAttach a Wavelength flow to a HubSpot deal as a note, with the flow title, an optional summary, and a share link. If the flow is public, the public link is used; otherwise the open_url is used. If HubSpot is not connected, returns an error telling the user to connect HubSpot in Wavelength settings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flow_id": "<flow_id>",
"deal_id": "<deal_id>"
},
"name": "attach_flow_to_crm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | The HubSpot deal id to attach the flow to. | |
| flow_id | Yes | The id of the flow to attach. | |
| summary | No | Optional summary to include in the note, up to 1000 characters. |