Create workflow
plunk_create_workflowStart a new automation by creating a workflow with a trigger event. Add steps and transitions afterward, then enable it.
Instructions
Purpose: Create a workflow with its trigger. Steps and transitions are added afterwards.
Not for: A finished automation in one call. A usable workflow needs plunk_add_workflow_step and plunk_add_workflow_transition after this.
Returns: The created workflow including its id.
Use when: Starting a new automation. Create it, add steps, connect them, then enable it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| enabled | No | ||
| eventName | Yes | Event that triggers the workflow (e.g. 'user-signup'). | |
| description | No | ||
| allowReentry | No | Allow a contact to enter the workflow more than once. |