Request to create a new automation
Example:
const automation = await adminClient.createAutomation({ name: 'Create CRM Contact', description: 'Create contacts from meeting action items', trigger_type: 'action_item_match', actions: [ { type: 'phrase_match', config: { phrases: ['create contact', 'add contact', 'new contact'] } } ]}); Copy
const automation = await adminClient.createAutomation({ name: 'Create CRM Contact', description: 'Create contacts from meeting action items', trigger_type: 'action_item_match', actions: [ { type: 'phrase_match', config: { phrases: ['create contact', 'add contact', 'new contact'] } } ]});
Array of automation actions
Optional
Use 'action_item_match' for phrase-based matching
Request to create a new automation
Example: