|
| 1 | +--- |
| 2 | +title: AIWorkflowAutomation |
| 3 | +description: AIWorkflowAutomation Schema Reference |
| 4 | +--- |
| 5 | + |
| 6 | +## Properties |
| 7 | + |
| 8 | +| Property | Type | Required | Description | |
| 9 | +| :--- | :--- | :--- | :--- | |
| 10 | +| **name** | `string` | ✅ | Workflow unique identifier (snake_case) | |
| 11 | +| **label** | `string` | ✅ | Workflow display name | |
| 12 | +| **description** | `string` | optional | | |
| 13 | +| **objectName** | `string` | ✅ | Target object for this workflow | |
| 14 | +| **trigger** | `Enum<'record_created' \| 'record_updated' \| 'field_changed' \| 'scheduled' \| 'manual' \| 'webhook' \| 'batch'>` | ✅ | | |
| 15 | +| **fieldConditions** | `object[]` | optional | Fields to monitor (for field_changed trigger) | |
| 16 | +| **schedule** | `object` | optional | Schedule configuration (for scheduled trigger) | |
| 17 | +| **webhookConfig** | `object` | optional | Webhook configuration (for webhook trigger) | |
| 18 | +| **entryCriteria** | `string` | optional | Formula condition - workflow only runs if TRUE | |
| 19 | +| **aiTasks** | `object[]` | ✅ | AI tasks to execute in sequence | |
| 20 | +| **postActions** | `object[]` | optional | Actions after AI tasks complete | |
| 21 | +| **executionMode** | `Enum<'sequential' \| 'parallel'>` | optional | How to execute multiple AI tasks | |
| 22 | +| **stopOnError** | `boolean` | optional | Stop workflow if any task fails | |
| 23 | +| **timeout** | `number` | optional | Maximum execution time in seconds | |
| 24 | +| **priority** | `Enum<'low' \| 'normal' \| 'high' \| 'critical'>` | optional | | |
| 25 | +| **enableLogging** | `boolean` | optional | | |
| 26 | +| **enableMetrics** | `boolean` | optional | | |
| 27 | +| **notifyOnFailure** | `string[]` | optional | User IDs to notify on failure | |
| 28 | +| **active** | `boolean` | optional | | |
| 29 | +| **version** | `string` | optional | | |
| 30 | +| **tags** | `string[]` | optional | | |
| 31 | +| **category** | `string` | optional | Workflow category (e.g., "support", "sales", "hr") | |
| 32 | +| **owner** | `string` | optional | User ID of workflow owner | |
| 33 | +| **createdAt** | `string` | optional | ISO timestamp | |
| 34 | +| **updatedAt** | `string` | optional | ISO timestamp | |
0 commit comments