---
search:
  tags:
    - automations
    - POST
seo:
  description: >-
    Creates a new automation. Executor must be a bot/agent user (automations
    always… Reference for the POST /automations endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Create automation
title: Create automation
type: openapi-operation
---
Creates a new automation. Executor must be a bot/agent user (automations always execute as an agent). Personal scope requires managePersonalAutomations; workspace requires manageWorkspaceAutomations. userPrompt accepts HTML or Markdown (automation prompt format: basic nodes, mentions, images; no files or videos).

<Operation source="api-reference" id="automationscontroller-createautomation" />
