Skip to main content
Billable - retry unsafe Adds leads to a workflow from a small CSV or Excel file — the same upload the dashboard and the REST API accept. This is NOT a read-only action. If the workflow is ACTIVE the new leads start progressing immediately, which can mean real calls and real cost; on a draft or paused workflow they wait. Leads file, in this order of preference: the host-attached 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.
  • 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

Send tools/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.
Successful results include 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 marked isError. Call Get Workflow Lead Variable Keys 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.