---
title: "Duplicate flow template"
method: POST
path: "/api/v1/automation/flow_templates/{id}/duplicate"
tags: ["Automation::FlowTemplates"]
---

# Duplicate flow template

`POST /api/v1/automation/flow_templates/{id}/duplicate`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/automation/flow_templates/{id}/duplicate`
- Auth: HTTP bearer

## Response `201`

Flow template duplicated

- object
  - `data` AutomationFlowTemplate, required
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `name` string, required
    - `description` string, nullable, required
    - `trigger_event` 'manual' | 'application_created' | 'application_updated' | 'talent_profile_updated' | 'interview_scheduled' | 'application_shortlisted' | 'null', nullable, required
    - `purpose` 'outreach' | 'transactional', required
    - `trigger_config` TriggerConfig, required
      - `allow_retrigger` boolean, nullable
      - `conditions` ConditionStepConfig, nullable
        - `field` string, nullable
        - `operator` string, nullable
        - `value` unknown
        - `and` ConditionStepConfig[], nullable
        - `or` ConditionStepConfig[], nullable
    - `stop_config` StopConfig, required
      - `conditions` ConditionStepConfig, nullable
        - `field` string, nullable
        - `operator` string, nullable
        - `value` unknown
        - `and` ConditionStepConfig[], nullable
        - `or` ConditionStepConfig[], nullable
    - `flow_steps_config` object[], nullable
      - `step_id` string, required
      - `step_type` string, required
      - `role` string, nullable
      - `is_first_step` boolean, required
      - `step_config` object, nullable
        - `type` string, nullable
        - `outreach_template_id` string, nullable
        - `agent_id` string, nullable
        - `content_role` 'outreach_intro' | 'outreach_interest_intro' | 'outreach_follow_up' | 'outreach_close' | 'outreach_whatsapp_invite' | 'outreach_voice' | 'outreach_voice_qualification', nullable
        - `wait` object, nullable
          - `duration` string, nullable
        - `anchor` string, nullable
        - `offset` object, nullable
          - `value` number
          - `unit` string
          - `direction` string
        - `title` string, nullable
        - `task_type` string, nullable
        - `halt_until_completed` boolean, nullable
        - `assignee_ids` number[], nullable
        - `due_in_days` number, nullable
        - `duration` string, nullable
        - `email_template_id` number, nullable
        - `tag_names` string[], nullable
        - `template_name` string, nullable
        - `subject_text` string, nullable
        - `allow_business_emails` boolean, nullable
        - `field` string, nullable
        - `operator` string, nullable
        - `value` unknown
        - `and` object[], nullable
        - `or` object[], nullable
      - `transition_config` object, nullable
        - `next` string, nullable
        - `true` string, nullable
        - `false` string, nullable
    - `catalog_key` string, nullable, required
    - `catalog_position` integer, nullable, required
    - `platform_default` boolean, required
  - `meta` object, nullable

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
