process-create_definition
process-create_definitionDefine and save reusable process definitions for automated workflows, specifying action type (webhook, automation, AI agent) and execution parameters.
Instructions
Creates a reusable process definition for automated workflows. Use with process tasks (task_type='process').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_type | Yes | Type of action: http_webhook, internal_automation, or ai_agent | |
| agent_config | No | For ai_agent: {prompt_template, input_items, output_item_type} | |
| automation_config | No | For internal_automation: {operations: [{type, ...}]} | |
| case_id | Yes | Case ID (@rid format) | |
| completion_steps | No | Steps the executing LLM must complete before calling complete_task. Define per-process (e.g., software changes: 'compile, commit, deploy, verify'; research: 'summarize findings in a note'). If blank, generic instructions are used. | |
| description | No | What this process does | |
| execution_mode | No | sync (wait for result) or async (background job). Default: async | |
| name | Yes | Definition name | |
| retry_count | No | Number of retries on failure | |
| timeout_seconds | No | Overall execution timeout | |
| triggers_sentry | No | Sentry ID to trigger on successful completion | |
| version | No | Version string (default: 1.0) | |
| webhook_config | No | For http_webhook: {url, method, headers, body_template, timeout_ms} |