All tools

CRM · salesforce_create_task

Create Salesforce task

Create a Salesforce task linked to a record.

Price
included
Requirements
Salesforce
set it up in Settings → Integrations
Human approval
Yes, by default
outside-facing write: a human validates

Input

FieldTypeDescription
tasksarrayBatch create: the FULL list of tasks to create in one call (preferred whenever there is more than one). Each item takes the same fields as a single task (subject required). Up to 200 per call; larger lists chunked automatically. When provided, the top-level fields are ignored.
subjectstringSingle task: subject / title. Ignored when `tasks` is provided.
whoIdstringSalesforce Contact or Lead ID to link the task to
whatIdstringSalesforce Account or Opportunity ID to link the task to
dueDatestringDue date in YYYY-MM-DD format
priorityNormal | High | LowTask priority (default: Normal)
descriptionstringDetailed notes or description for the task
statusNot Started | In Progress | Completed | Waiting on someone else | DeferredTask status (default: Not Started)

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"salesforce_create_task","input":{"tasks":[],"subject":"…","whoId":"…","whatId":"…"}}'
$run({ "tool": "salesforce_create_task", "input": {"tasks":[],"subject":"…","whoId":"…","whatId":"…"} })