Send flow to Salesforce
send_flow_to_salesforceAttach a flow to a Salesforce opportunity or account as a note with a summary, questions to confirm, and a link to the live flow. If the app is not connected, the error tells the user where to connect it 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>",
"record_id": "<record_id>"
},
"name": "send_flow_to_salesforce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional note title. Default is the flow title. | |
| flow_id | Yes | The id of the flow. | |
| summary | No | Optional text to send instead of the default summary, up to 15000 characters. For example, the handoff text from write_recaps. The flow link is added at the end. | |
| record_id | Yes | The record id from find_salesforce_records. |