Create workflow
documentedCreate a new workflow.
POST /v1/workflowsWorkflowsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.crmworkspace.com/v1/workflows" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"label": "{{$label}}", "linked_to": {"id": {{$linked_to_id}}, "type": "{{$linked_to_type}}", "name": "{{$linked_to_name}}"}, "workflow_template": {{$workflow_template_id}}, "starts_at": "{{$starts_at}}", "workflow_milestones": [ {"id": "{{$milestone_id}}", "name": "{{$milestone_name}}"} ], "visible_to": "{{$visible_to}}" }'