younifyd
Menu

Get A Flow

Get a Flow

GET/v2/flows/{flowID}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get A Flow action (under Flows).
  3. Fill in the fields below, then reference the result from later steps as {{getAFlow.response.data}}.

Request

Path parameters

flowIDstring (uuid)required

The unique identifier of the flow/template you want to retrieve.

Response

Returns 200 with an object. Read it in later steps with {{getAFlow.response.data.<field>}}.

dataobject
idstring (uuid)

A unique identifier for a resource.

typestring

A unique identifier for a flow/template.

namestring

The name of a flow/template.

slugstring

A unique identifier of a flow/template.

descriptionstring

A short description for a flow/template.

enabledboolean
linksobject1 fields

Link to the current resource.

relationshipsobject1 fields

Relationships are established between different flows/templates entities. For example, a field and an entry are related to a flow as both are attached to it.

metaobject2 fields
json
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "flow",
    "name": "Products",
    "slug": "products",
    "description": "Extends the default product object",
    "enabled": true,
    "links": {
      "self": "https://euwest.api.elasticpath.com/v2/flows/d2a9b22a-b4b0-456b-bbc7-d8723aaffa84"
    },
    "relationships": {
      "fields": {
        "data": [
          {
            "id": "00000000-0000-0000-0000-000000000000",
            "type": "brand"
          }
        ]
      }
    },
    "meta": {
      "owner": "enum",
      "timestamps": {
        "created_at": "2023-10-11T13:02:25.293Z",
        "updated_at": "2023-10-11T13:02:25.293Z"
      }
    }
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Was this page helpful?