Retrieve a list of workflows
GET/workflows/
Returns a list of all active parent workflows associated with your Alloy Embedded account. Note this endpoint does not return a list of workflows that the user has installed, but rather a list of all available workflows. The installed
flag indicates if the user has installed a copy of the workflow but does not indicate if the user has a given workflow "active".
For each workflow, this endpoint returns the individual apps that are required as part of the workflow. Commonly used to populate data on an integrations page.
Request
Query Parameters
This parameter allows you to filter workflows based on the name of the integration you're looking for. For example, if you were looking for a Shopify integration, specify shopify
The Id of the user you want to lookup. Returned from the Create User endpoint. Note: you can also use the Embedded user's username
in this field.
Header Parameters
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
Array [
Array [
]
]
data
object[]
Default value: true
Default value: true
Default value: 0
Default value: 0
blocks
object[]
{
"data": [
{
"workflowId": "61af97f3a64b5900144610d8",
"integrationId": "632ca935bb5c785d64d095b5",
"name": "New Customer Created",
"createdAt": "2021-12-07T17:20:51.889Z",
"updatedAt": "2021-12-07T17:36:32.454Z",
"installed": true,
"active": true,
"version": 2,
"installedVersion": 1,
"blocks": [
{
"name": "Custom Event",
"id": "acd92ef8-303a-4c31-b323-c55fb2d7a41f",
"type": "customEvent",
"icon": "https://cdn.runalloy.com/icons/app-event.svg"
}
]
}
]
}
{
"data": [
{
"workflowId": "61af97f3a64b5900144610d8",
"integrationId": "632ca935bb5c785d64d095b5",
"name": "New Customer Created",
"createdAt": "2021-12-07T17:20:51.889Z",
"updatedAt": "2021-12-07T17:36:32.454Z",
"installed": true,
"active": true,
"version": 2,
"installedVersion": 1,
"blocks": [
{
"name": "Custom Event",
"id": "acd92ef8-303a-4c31-b323-c55fb2d7a41f",
"type": "customEvent",
"icon": "https://cdn.runalloy.com/icons/app-event.svg"
},
{
"name": "Slack",
"id": "ff827207-a709-4689-a9e4-2e202af3a333",
"type": "slack",
"icon": "https://cdn.runalloy.com/icons/slack.png"
}
]
},
{
"workflowId": "63251f12d14f9e9822a4a747",
"integrationId": "632ca945126125e12f585468",
"name": "Add Subscribers to Klaviyo List",
"createdAt": "2021-12-07T17:39:03.028Z",
"updatedAt": "2021-12-07T17:44:15.812Z",
"installed": true,
"active": true,
"version": 1,
"installedVersion": 1,
"blocks": [
{
"name": "Custom Event",
"id": "50db3942-7c60-4cd5-89a3-68096e47aa6f",
"type": "customEvent",
"icon": "https://cdn.runalloy.com/icons/app-event.svg"
},
{
"name": "Klaviyo",
"id": "aecb35be-819e-4e8f-83cb-be57592333b4",
"type": "klaviyo",
"icon": "https://cdn.runalloy.com/icons/klaviyo.png"
}
]
},
{
"workflowId": "63251f16d309d2b7cbe7f3b4",
"integrationId": "632ca94d460d08e72db9e2a3",
"name": "List Shopify Customers",
"createdAt": "2021-12-07T17:22:48.580Z",
"updatedAt": "2021-12-07T17:37:00.103Z",
"version": 1,
"active": false,
"blocks": [
{
"name": "Shopify Trigger",
"id": "8f58e15e-b53e-43c2-9f7f-131cb991908b",
"type": "shopifyTrigger",
"icon": "https://cdn.runalloy.com/icons/shopify.png"
},
{
"name": "Custom API Call",
"id": "7ee665e5-7b8b-491f-94d7-f3b6233d9730",
"type": "httpRequest",
"icon": "https://cdn.runalloy.com/icons/httpRequest.png"
}
]
}
]
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}