Skip to main content

create_automation

Function create_automation 

Source
pub async fn create_automation(
    __arg0: State<AppState>,
    __arg1: Json<CreateAutomationBody>,
) -> Result<(StatusCode, Json<CreatedAutomationResponse>), ApiError>
Expand description

POST /api/automations — create one, returning a webhook key if it has a webhook trigger.