> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one flow

> Returns one flow with its steps: each step's type, its name in the builder, the steps it leads to, and the resource it points at (`settings`). A flow is an automation from Agent Studio's Automations tab: a trigger (what starts it) and the steps it runs. Deleted flows and saved components are not listed.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/automations/flows/{flow_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/automations/flows/{flow_id}:
    get:
      tags:
        - automations
      summary: Get one flow
      description: >-
        Returns one flow with its steps: each step's type, its name in the
        builder, the steps it leads to, and the resource it points at
        (`settings`). A flow is an automation from Agent Studio's Automations
        tab: a trigger (what starts it) and the steps it runs. Deleted flows and
        saved components are not listed.
      operationId: automations_get_flow
      parameters:
        - description: The flow's id, from GET /v1/automations/flows
          in: path
          name: flow_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowDetail'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    FlowDetail:
      properties:
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        enabled:
          description: Whether the flow is on
          title: Enabled
          type: boolean
        folder:
          anyOf:
            - type: string
            - type: 'null'
          description: The Agent Studio folder it is in
          title: Folder
        id:
          title: Id
          type: string
        name:
          title: Name
          type: string
        steps:
          items:
            $ref: '#/components/schemas/Step'
          title: Steps
          type: array
        trigger:
          anyOf:
            - $ref: '#/components/schemas/Trigger'
            - type: 'null'
          description: What starts it; null for a flow with no trigger step
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 8601 UTC
          title: Updated At
      required:
        - id
        - name
        - description
        - enabled
        - folder
        - trigger
        - updated_at
        - steps
      title: FlowDetail
      type: object
    Step:
      properties:
        id:
          title: Id
          type: string
        name:
          description: Its name in the flow builder
          title: Name
          type: string
        next:
          description: The ids of the steps it leads to
          items:
            type: string
          title: Next
          type: array
        settings:
          additionalProperties: true
          description: >-
            What the step points at, by type: agent → agent_id (GET /v1/agents);
            send_email → template_id (GET /v1/templates); send_survey →
            survey_id (GET /v1/surveys); update_field → object and fields (keys
            from GET /v1/fields); create_project → project_template_id (GET
            /v1/project_templates); wait → duration {value, unit}; http_request
            → method and host; slack_message → channel. Empty for any other step
          title: Settings
          type: object
        type:
          enum:
            - trigger
            - condition
            - ai
            - agent
            - send_email
            - send_survey
            - slack_message
            - teams_message
            - read_records
            - update_field
            - create_task
            - create_project
            - create_opportunity
            - create_case
            - add_comment
            - approval
            - wait
            - http_request
            - transform
            - output
            - other
          title: Type
          type: string
      required:
        - id
        - type
        - name
        - next
        - settings
      title: Step
      type: object
    Trigger:
      properties:
        object:
          anyOf:
            - enum:
                - account
                - contact
                - opportunity
                - project
                - task
                - user
                - activity
                - meeting
              type: string
            - type: 'null'
          description: The record it runs on; null for a schedule or warehouse data
          title: Object
        type:
          description: What starts the flow
          enum:
            - schedule
            - segment
            - field_change
            - new_activity
            - meeting_processed
            - upcoming_meeting
            - warehouse_data
          title: Type
          type: string
      required:
        - type
        - object
      title: Trigger
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.