Tous les outils

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

ChampTypeDescription
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)

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":"…"} })