@contio/partner-sdk - v1.7.1
    Preparing search index...

    Interface CreateAutomationRequest

    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']
    }
    }
    ]
    });
    interface CreateAutomationRequest {
        actions: AutomationAction[];
        description?: string;
        name: string;
        trigger_type: string;
    }
    Index

    Properties

    actions: AutomationAction[]

    Array of automation actions

    description?: string
    name: string
    trigger_type: string

    Use 'action_item_match' for phrase-based matching