Create a GoCanvas dispatch
gocanvas_create_dispatchWRITE: creates a dispatch, a job that appears on the assignee's mobile device (immediate_dispatch is sent at once, with a push notification when send_notification is true; scheduled_dispatch needs scheduled_at and scheduled_end). Responses pre-fill the assignee's form (entry ids from gocanvas_get_form). Without assignee_id the dispatch stays unassigned. Not idempotent: calling twice creates two dispatches. Media fields cannot be pre-filled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Short name shown on the dispatch calendar. | |
| form_id | Yes | The form to dispatch (from gocanvas_list_forms). | |
| responses | No | Pre-filled answers. | |
| assignee_id | No | The user who gets the dispatch (from gocanvas_list_users); omit to leave it unassigned. | |
| description | No | Description shown on the assignee's device. | |
| scheduled_at | No | Scheduled dispatches: start, in the format MM/DD/YYYY h:mm:ss AM, e.g. 12/1/2024 8:00:00 AM. | |
| department_id | No | Department; default is the user's default department. | |
| dispatch_type | Yes | immediate_dispatch is sent now; scheduled_dispatch at scheduled_at. | |
| scheduled_end | No | Scheduled dispatches: end, same format. | |
| reminder_interval | No | Scheduled dispatches: minutes before the start to send a reminder. | |
| send_notification | No | Immediate dispatches: send a push notification to the mobile app. | |
| send_calendar_invite | No | Scheduled dispatches: send a calendar invite. |