Actions33
- Agent Actions
- Appointment Actions
- Call Actions
- Contact Actions
- Conversation Actions
- Dataset Actions
- Listing Actions
- SMS Actions
- Task Actions
- WhatsApp Actions
Task → Create
AI-generatedSummary
Create a scheduled task for a phone number, assigning it to a Mihu AI agent as a call or message. Optionally set its scheduled time and enable auto-queue.
Inputs
- Title (required) — Task title.
- Type (required) — Select Call or Message; defaults to Call.
- Phone Number (required) — Phone number for the task’s contact.
- Agent Name or ID (required) — Select an agent or provide its ID, including through an expression.
- Scheduled At — Optional scheduled time, such as an ISO 8601 timestamp.
- Auto Queue — When enabled, sends auto_queue: true with the task request. Defaults to false.
Output shape
A single item containing the task returned by the API.
Uses the response’s data field when present; otherwise returns the full response. Creates the task with a POST request to the Mihu tasks endpoint.