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
| Field | Type | Description |
|---|---|---|
| tasks | array | Batch 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. |
| subject | string | Single task: subject / title. Ignored when `tasks` is provided. |
| whoId | string | Salesforce Contact or Lead ID to link the task to |
| whatId | string | Salesforce Account or Opportunity ID to link the task to |
| dueDate | string | Due date in YYYY-MM-DD format |
| priority | Normal | High | Low | Task priority (default: Normal) |
| description | string | Detailed notes or description for the task |
| status | Not Started | In Progress | Completed | Waiting on someone else | Deferred | Task 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":"…"} })