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

# List Workflows

List all workflows in a specific pack in your workspace.

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                |
  | ---------------- | ------------------------------------------ |
  | Workflow Pack ID | The pack for which to list workflows.      |
  | Workspace ID     | The workspace for which to list workflows. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter   | Description                                             |
  | ----------- | ------------------------------------------------------- |
  | Name Search | Search workflows by a substring of the workflow's name. |
</div>

## Example Output

```json theme={"dark"}
{
	"limit": 999,
	"offset": 0,
	"total": 1,
	"results": [
		{
			"id": "6ed2f417-9164-44af-b55d-f8dfaa3aeb08",
			"created_at": 1675930886118,
			"updated_at": 1681198550032,
			"created_by": "example@blinkops.com",
			"updated_by": "example@blinkops.com",
			"name": "New Workflow",
			"tenant_id": "918d290c-cf26-4f8b-ae91-4cb61fe3e098",
			"workspace_id": "acbdffe9-f04b-4e62-bbb3-bdb991f1173a",
			"version": "",
			"playbook": "name: New Workflow\ntype: Flow\nautomation_type: on_demand\nrunner: local\nworkflow:\n  - section: Steps\n    steps:\n      - action: blink.CreateConnection\n        id: S7\n        name: Create Connection\n        inputs:\n          attributes: |-\n            {\n              \"aws_access_key_id\": {\"value\": \"test1\"},\n              \"aws_secret_access_key\": {\"value\": \"test1\"}\n            }\n          connection_type_id:\n            value: c42afbdc-b3d5-46c8-ade9-912331c6e265\n            display_name: AWS\n          creation_method:\n            value: user_based\n            display_name: AWS Access Key\n          name: test{{metadata.execution_id}}\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n      - action: blink.EditConnection\n        id: S9\n        name: Edit Connection\n        inputs:\n          attributes: |-\n            {\n              \"aws_access_key_id\": {\"value\": \"test2\"},\n              \"aws_secret_access_key\": {\"value\": \"test2\"}\n            }\n          connection_id:\n            value: '{{steps.1.output.id}}'\n            display_name: '{{steps.1.output.id}}'\n          connection_type_id:\n            value: c42afbdc-b3d5-46c8-ade9-912331c6e265\n            display_name: AWS\n          creation_method:\n            value: user_based\n            display_name: AWS Access Key\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n      - action: blink.DeleteConnection\n        id: S4\n        name: Delete Connection\n        inputs:\n          connection_id:\n            value: '{{steps.1.output.id}}'\n            display_name: '{{steps.1.output.id}}'\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n      - action: blink.ListConnectionTypes\n        id: S6\n        name: List Connection Types\n        inputs:\n          filter: azure\n        connections:\n          blink: my_blink_connection\n      - action: blink.ListConnections\n        id: S5\n        name: List Connections\n        inputs:\n          filter: blink\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n      - action: blink.GetConnectionType\n        id: S8\n        name: Get Connection Type\n        inputs:\n          connection_type_id:\n            value: c42afbdc-b3d5-46c8-ade9-912331c6e265\n            display_name: AWS\n        connections:\n          blink: my_blink_connection\n      - action: blink.ListAutomationPacks\n        id: S10\n        name: List Automation Packs\n        inputs:\n          search: home\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n      - action: blink.ListAutomations\n        id: S11\n        name: List Automations\n        inputs:\n          workspace_id:\n            value: acbdffe9-f04b-4e62-bbb3-bdb991f1173a\n            display_name: example@blinkops.com\n        connections:\n          blink: my_blink_connection\n",
			"tags": null,
			"type": "Flow",
			"automation_type": "on_demand",
			"is_request": false,
			"notification_emails": "",
			"actions": [
				{
					"action_full_name": "blink.CreateConnection",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.EditConnection",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.DeleteConnection",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.ListConnectionTypes",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.ListConnections",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.GetConnectionType",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.ListAutomationPacks",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				},
				{
					"action_full_name": "blink.ListAutomations",
					"collection_name": "blink",
					"id": "83f6ded7-82e4-56fd-a8f7-5a06d1335f9a",
					"name": "Blink",
					"full_name": "Blink"
				}
			],
			"used_connections": [
				"my_blink_connection"
			],
			"used_subflows": [],
			"used_global_variables": [],
			"used_tables": [],
			"pack_id": "eb4ad306-34aa-42e8-8adf-7b7eba5d6e57",
			"is_otb": false,
			"active": true,
			"display_settings": {
				"name": "",
				"description": "",
				"icon": ""
			},
			"ExecutionNumber": 0,
			"automation_origin_id": null,
			"executions_count": 0,
			"activity_past": "[{\"date\" : \"2023-03-26T00:00:00+03:00\", \"state\" : \"Cancelled\", \"count\" : 2}, {\"date\" : \"2023-03-26T00:00:00+03:00\", \"state\" : \"Failed\", \"count\" : 6}, {\"date\" : \"2023-03-26T00:00:00+03:00\", \"state\" : \"Timeout\", \"count\" : 1}]",
			"activity_today": "",
			"last_state": "Failed",
			"last_error": "Last execution failed: <!DOCTYPE html>\n<html lang=en>\n  <meta charset=utf-8>\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, width=device-width\">\n  <title>Error 404 (Not Found)!!1</title>\n  <style>\n    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n  </style>\n  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\n  <p><b>404.</b> <ins>That’s an error.</ins>\n  <p>The requested URL <code>/v4/spreadsheets/1BSxgoKnNPT17Uh_NGsjBsyBuzI0Ycna5bBjWhhhneg4/values/:append?valueInputOption=RAW</code> was not found on this server.  <ins>That’s all we know.</ins>\n",
			"last_run": 1679861267981,
			"updated_by_name": "example name",
			"used_by": {
				"subflows": {
					"names": null,
					"count": 0
				}
			},
			"is_published": true,
			"trigger_collection": "",
			"trigger_type": ""
		}
	]
}
```

## Workflow Library Example

[List Workflows with Blink and Send Results Via Email](https://library.blinkops.com/workflows/list-workflows-with-blink-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-workflows-with-blink-and-send-results-via-email/canvas" />
</div>
