file when the user attached one in the chat; otherwise create_upload_url (kind workflow_leads) and pass the upload_id here, for any real file of any size; file_text only for a few rows the user typed into the conversation (CSV, header row first, a phone_number column plus any variable columns). Use get_workflow_lead_variable_keys to see which columns existing leads carry so new rows match.
Parameters
Complete input schema
Registered output schema
Before you call
- Connect and initialize the MCP client with OAuth or an API key for the intended workspace.
- Provide the required parameters:
workflow_id. - If your OAuth grant covers several workspaces, also pass
organization_idwith the workspace to act in, from List My Organizations. - Provide one file source: a host attachment, a completed upload_id, or supported inline content. The optional file fields are alternatives; omitting all of them does not submit a file. See MCP file uploads.
- Confirm the exact target and intended effect with the user before calling.
Example MCP request
Sendtools/call after your client completes MCP initialization. Replace placeholder values with IDs and inputs from your workspace. For object and array parameters, follow the nested requirements in the parameter description instead of treating an empty value as complete.
structuredContent and a text content block containing the same JSON. Check isError first, then read structuredContent or parse content[0].text. See MCP responses and errors for the full envelope and failure behavior.
Verify the result
Store the returned resource ID and confirm the response is not markedisError. Call List Workflow Leads to read the affected resource. Verify the call, batch, or purchase state before retrying.
Retry safety
This tool can spend wallet balance or start real calls. After a timeout, inspect the relevant resource before retrying so you do not duplicate the action.Related MCP tools
- List Workflow Leads:
list_workflow_leads - Get Workflow Lead Variable Keys:
get_workflow_lead_variable_keys - Create Upload URL:
create_upload_url - List Workflows:
list_workflows - Get Workflow:
get_workflow