| page_title | epilot-workflow_flow_template Data Source - terraform-provider-epilot-workflow |
|---|---|
| subcategory | |
| description | FlowTemplate DataSource |
FlowTemplate DataSource
data "epilot-workflow_flow_template" "my_flowtemplate" {
}-
additional_triggers(Attributes List) Additional trigger configurations that can also start this flow. Useful for flows that should be startable via multiple methods (e.g., both automation AND manual). (see below for nested schema) -
assigned_to(Attributes List) (see below for nested schema) -
available_in_ecp(Boolean) Indicates whether this workflow is available for End Customer Portal or not. By default it's not. -
closing_reasons(Attributes List) (see below for nested schema) -
created_at(String) ISO String Date & Time -
description(String) -
due_date(String) -
due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema) -
edges(Attributes List) (see below for nested schema) -
enabled(Boolean) Whether the workflow is enabled or not -
entity_sync(Attributes List) (see below for nested schema) -
id(String) The ID of this resource. -
manifest(List of String) The manifest IDs associated with this workflow -
name(String) -
org_id(String) -
phases(Attributes List) (see below for nested schema) -
single_closing_reason_selection(Boolean) Whether only a single closing reason can be selected -
tasks(Attributes List) (see below for nested schema) -
taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filtering -
trigger(Attributes) (see below for nested schema) -
updated_at(String) ISO String Date & Time -
version(String) Version of the workflow schema. -
v1– Deprecated. The initial version of workflows with limited structure and automation capabilities. -
v2– Linear workflows. Supports sequential task execution with basic automation triggers. -
v3– Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
Read-Only:
automation_trigger(Attributes) (see below for nested schema)journey_automation_trigger(Attributes) (see below for nested schema)journey_submission_trigger(Attributes) (see below for nested schema)manual_trigger(Attributes) (see below for nested schema)
Read-Only:
automation_id(String) Id of the automation config that triggers this workflowid(String)trigger_config(Attributes List) Transient field. Trigger configurations for creating or updating the trigger automation flow. Each item follows the automation API trigger schema. Processed by the backend during create/update and stripped before storage. (see below for nested schema)type(String)
Read-Only:
additional_properties(String) Parsed as JSON.configuration(Map of String) Trigger-specific configurationtype(String) The trigger type (e.g. entity_operation, activity)
Read-Only:
entity_schema(String) Schema of the main entity where flow will be triggered. The entity will be picked from automation context.id(String)type(String)
Read-Only:
automation_id(String)id(String)journey_id(String) ID of the journey that will trigger this flowjourney_name(String) Name of the journey that will trigger this flowtype(String)
Read-Only:
entity_schema(String)id(String)type(String)
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
creation_time(String)id(String)last_update_time(String)status(String)title(String)
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
condition_id(String)from_id(String)id(String)none_met(Boolean) Indicates a default case for a decision task. Only decision task edges can have this field and the flow advances using this edge if no conditions are met.to_id(String)
Read-Only:
target(Attributes) (see below for nested schema)trigger(Attributes) Trigger configuration that determines when entity sync occurs. Contains the event type and optional filter to target specific tasks/phases. (see below for nested schema)value(Attributes) (see below for nested schema)
Read-Only:
entity_attribute(String)entity_schema(String)
Read-Only:
event(String) Event or condition that triggers the entity sync. Direct triggers match EventBridge event names (PascalCase). Status triggers are deduced from event + entity status combination.filter(Attributes) Optional filter to target specific tasks or phases. Specify either task_template_id OR phase_template_id (mutually exclusive). If omitted, trigger applies to all tasks/phases. (see below for nested schema)
Read-Only:
phase_template_id(String) Target a specific phase by its template ID (stable across executions)task_template_id(String) Target a specific task by its template ID (stable across executions)
Read-Only:
source(String)value(String)
Read-Only:
assigned_to(Attributes List) (see below for nested schema)due_date(String)due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema)id(String)name(String)taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filtering
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
ai_agent_task(Attributes) (see below for nested schema)automation_task(Attributes) (see below for nested schema)decision_task(Attributes) (see below for nested schema)task_base(Attributes) (see below for nested schema)
Read-Only:
agent_config(Attributes) Configuration for AI Agent to run (see below for nested schema)assigned_to(Attributes List) (see below for nested schema)description(Attributes) Longer information regarding Task (see below for nested schema)due_date(String)due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema)ecp(Attributes) Details regarding ECP for the workflow step (see below for nested schema)id(String)installer(Attributes) Details regarding ECP for the workflow step (see below for nested schema)journey(Attributes) (see below for nested schema)name(String)partner(Attributes) Details regarding partner for the workflow step (see below for nested schema)phase_id(String)requirements(Attributes List) requirements that need to be fulfilled in order to enable the task while flow instances are running (see below for nested schema)task_type(String)taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filtering
Read-Only:
additional_properties(String) Parsed as JSON.agent_id(String) Id of the configured AI Agent to run
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
enabled(Boolean)value(String)
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)label(String)
Read-Only:
phase_id(String) The id of the phase that it points totask_id(String) The id of the task that it points towhen(String)
Read-Only:
assigned_to(Attributes List) (see below for nested schema)automation_config(Attributes) Configuration for automation execution to run (see below for nested schema)created_automatically(Boolean) Indicates whether this task was created automatically by journeys or manually by an userdescription(Attributes) Longer information regarding Task (see below for nested schema)due_date(String)due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema)ecp(Attributes) Details regarding ECP for the workflow step (see below for nested schema)id(String)installer(Attributes) Details regarding ECP for the workflow step (see below for nested schema)journey(Attributes) (see below for nested schema)name(String)partner(Attributes) Details regarding partner for the workflow step (see below for nested schema)phase_id(String)requirements(Attributes List) requirements that need to be fulfilled in order to enable the task while flow instances are running (see below for nested schema)schedule(Attributes) (see below for nested schema)task_type(String)taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filteringtrigger_mode(String)
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
action_config(Attributes) Transient field. The full automation action configuration following the automation API action schema. Processed by the backend during create/update and stripped before storage. When present without a flow_id, a new automation flow is created. When present with a flow_id, the existing automation flow is updated. (see below for nested schema)flow_id(String) Id of the configured automation to run
Read-Only:
additional_properties(String) Parsed as JSON.config(Map of String) Action-specific configurationtype(String) The action type (e.g. send-email, trigger-workflow)
Read-Only:
enabled(Boolean)value(String)
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)label(String)
Read-Only:
phase_id(String) The id of the phase that it points totask_id(String) The id of the task that it points towhen(String)
Read-Only:
delayed_schedule(Attributes) (see below for nested schema)immediate_schedule(Attributes) (see below for nested schema)relative_schedule(Attributes) (see below for nested schema)
Read-Only:
duration(Number)mode(String)unit(String)
Read-Only:
mode(String)
Read-Only:
direction(String)duration(Number)mode(String)reference(Attributes) (see below for nested schema)unit(String)
Read-Only:
attribute(String) An entity attribute that identifies a date / datetimeid(String) The id of the entity / workflow / task, based on the origin of the schedule. For all_preceding_tasks_completed, use the sentinel value "all_preceding_tasks_completed".origin(String)schema(String) The schema of the entity
Read-Only:
assigned_to(Attributes List) (see below for nested schema)conditions(Attributes List) (see below for nested schema)description(Attributes) Longer information regarding Task (see below for nested schema)due_date(String)due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema)ecp(Attributes) Details regarding ECP for the workflow step (see below for nested schema)id(String)installer(Attributes) Details regarding ECP for the workflow step (see below for nested schema)journey(Attributes) (see below for nested schema)loop_config(Attributes) (see below for nested schema)name(String)partner(Attributes) Details regarding partner for the workflow step (see below for nested schema)phase_id(String)requirements(Attributes List) requirements that need to be fulfilled in order to enable the task while flow instances are running (see below for nested schema)schedule(Attributes) (see below for nested schema)task_type(String)taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filteringtrigger_mode(String)
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
branch_name(String) The name of the branchid(String)logical_operator(String)statements(Attributes List) (see below for nested schema)
Read-Only:
id(String)operator(String)source(Attributes) (see below for nested schema)value_type(String) How to interpret values. "static" (default) means literal values. "relative_date" means values[0] is a dynamic date token like "today".values(List of String)
Read-Only:
attribute(String)attribute_operation(String)attribute_repeatable(Boolean)attribute_sub_field(String) For complex attribute types, specifies which sub-field to extract (e.g., "address", "name", "email_type")attribute_type(String)date_offset(Attributes) Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry) (see below for nested schema)id(String) The id of the action or triggerorigin(String)origin_type(String)schema(String)
Read-Only:
amount(Number) Number of units to offsetunit(String) Unit of the offset
Read-Only:
enabled(Boolean)value(String)
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
exit_branch_id(String) The id of the branch that will be used to exit the looploop_branch_id(String) The id of the branch that will be loopedmax_iterations(Number) Maximum number of iterations for the loop branch
Read-Only:
description(String)enabled(Boolean)label(String)
Read-Only:
phase_id(String) The id of the phase that it points totask_id(String) The id of the task that it points towhen(String)
Read-Only:
delayed_schedule(Attributes) (see below for nested schema)relative_schedule(Attributes) (see below for nested schema)
Read-Only:
duration(Number)mode(String)unit(String)
Read-Only:
direction(String)duration(Number)mode(String)reference(Attributes) (see below for nested schema)unit(String)
Read-Only:
attribute(String) An entity attribute that identifies a date / datetimeid(String) The id of the entity / workflow / task, based on the origin of the schedule. For all_preceding_tasks_completed, use the sentinel value "all_preceding_tasks_completed".origin(String)schema(String) The schema of the entity
Read-Only:
assigned_to(Attributes List) (see below for nested schema)description(Attributes) Longer information regarding Task (see below for nested schema)due_date(String)due_date_config(Attributes) Set due date for the task based on a dynamic condition (see below for nested schema)ecp(Attributes) Details regarding ECP for the workflow step (see below for nested schema)id(String)installer(Attributes) Details regarding ECP for the workflow step (see below for nested schema)journey(Attributes) (see below for nested schema)name(String)partner(Attributes) Details regarding partner for the workflow step (see below for nested schema)phase_id(String)requirements(Attributes List) requirements that need to be fulfilled in order to enable the task while flow instances are running (see below for nested schema)task_type(String)taxonomies(List of String) Taxonomy ids that are associated with this workflow and used for filtering
Read-Only:
str(String)variable_assignment(Attributes) Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. (see below for nested schema)
Read-Only:
value(List of String) The resolved values after variable evaluation (populated during execution)variable(String) The variable expression, e.g., "{{entity.owner}}"
Read-Only:
enabled(Boolean)value(String)
Read-Only:
duration(Number)phase_id(String)task_id(String)type(String)unit(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)journey(Attributes) (see below for nested schema)label(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
complete_task_automatically(Boolean) If true, the task be auto completed when the journey is completed. By default it is true.id(String)journey_id(String)name(String)
Read-Only:
description(String)enabled(Boolean)label(String)
Read-Only:
phase_id(String) The id of the phase that it points totask_id(String) The id of the task that it points towhen(String)
Read-Only:
automation_trigger(Attributes) (see below for nested schema)journey_automation_trigger(Attributes) (see below for nested schema)journey_submission_trigger(Attributes) (see below for nested schema)manual_trigger(Attributes) (see below for nested schema)
Read-Only:
automation_id(String) Id of the automation config that triggers this workflowid(String)trigger_config(Attributes List) Transient field. Trigger configurations for creating or updating the trigger automation flow. Each item follows the automation API trigger schema. Processed by the backend during create/update and stripped before storage. (see below for nested schema)type(String)
Read-Only:
additional_properties(String) Parsed as JSON.configuration(Map of String) Trigger-specific configurationtype(String) The trigger type (e.g. entity_operation, activity)
Read-Only:
entity_schema(String) Schema of the main entity where flow will be triggered. The entity will be picked from automation context.id(String)type(String)
Read-Only:
automation_id(String)id(String)journey_id(String) ID of the journey that will trigger this flowjourney_name(String) Name of the journey that will trigger this flowtype(String)
Read-Only:
entity_schema(String)id(String)type(String)