CRM · salesforce_create_task
Créer une tâche Salesforce
Crée une tâche Salesforce liée à un enregistrement.
- Prix
- inclus
- Prérequis
- Salesforce
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
Entrée
| Champ | 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) |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
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":"…"} })