Automations
Automations run actions when something happens in a drive, for example tagging files on upload or emailing a share link when a folder changes.
An automation is a graph of trigger, condition, and action nodes. Create it with POST /automations, save the graph with PUT /automations/{automation_id}, then activate a version with PATCH /automations/{automation_id}/versions/{version}/status. GET /automations/integrations lists every available trigger and action.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eA list of all registered integrations.
Not found
Validation Error
GET /automations/integrations?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"name": "text",
"description": "text",
"triggers": [
{
"id": "text",
"name": "text",
"description": "text",
"output_schema": {
"ANY_ADDITIONAL_PROPERTY": true
},
"config_schema": {
"ANY_ADDITIONAL_PROPERTY": "[Circular Reference]"
}
}
],
"actions": [
{
"id": "text",
"name": "text",
"description": "text",
"config_schema": {
"ANY_ADDITIONAL_PROPERTY": true
},
"output_schema": {
"ANY_ADDITIONAL_PROPERTY": true
},
"suggested_follow_up": {
"integration_id": "SHADE",
"operation": "text",
"config_from_output": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"provider": "text"
}
]
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to list automations for.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eA list of automations in the specified drive.
Not found
Validation Error
GET /automations?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"status": "DRAFT",
"created": "2026-01-01T00:00:00.000Z",
"created_by_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by_name": "text",
"created_by_avatar_url": "text",
"trigger": {
"integration_id": "text",
"operation": "text",
"label": "text",
"manual_target": {
"type": "asset"
},
"has_input_fields": false
},
"total_runs": 1,
"last_published": "2026-01-01T00:00:00.000Z",
"last_failed_run": "2026-01-01T00:00:00.000Z"
}
]Create an automation with an initial v1 DRAFT version.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The newly created automation.
Not found
Validation Error
POST /automations HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"name": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by_id": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"loaded_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version_number": 1,
"versions": [
{
"version": 1,
"status": "DRAFT"
}
]
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation to retrieve.
The automation with its active (or latest) version.
Not found
Validation Error
GET /automations/{automation_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by_id": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"loaded_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version_number": 1,
"versions": [
{
"version": 1,
"status": "DRAFT"
}
]
}Replace all nodes and edges for an automation.
If the current version is DRAFT, overwrites it in place. If the current version is ACTIVE, creates a new DRAFT version to preserve the active version's graph for execution history.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation to save.
The saved automation with updated version.
Not found
Validation Error
PUT /automations/{automation_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 462
{
"name": "text",
"description": "text",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 0,
"position_y": 0
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by_id": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"loaded_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version_number": 1,
"versions": [
{
"version": 1,
"status": "DRAFT"
}
]
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation to delete.
Successful Response
No content
Not found
Validation Error
DELETE /automations/{automation_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation to get executions for.
1-indexed page number.
1Number of executions per page.
20Paginated list of executions for the automation.
Not found
Validation Error
GET /automations/{automation_id}/executions HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"executions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"automation_id": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"status": "QUEUED",
"trigger_data": {
"ANY_ADDITIONAL_PROPERTY": true
},
"node_outputs": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": true
}
},
"current_node_id": "123e4567-e89b-12d3-a456-426614174000",
"execution_type": "DEFAULT",
"node_state": {
"poll": "[Circular Reference]"
},
"started_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"duration_ms": 1,
"created": "2026-01-01T00:00:00.000Z"
}
],
"page": 1,
"page_size": 1,
"has_next": true
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation.
The ids of the queued executions.
Not found
Validation Error
POST /automations/{automation_id}/executions HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"selection": {
"type": "asset",
"asset_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
},
"inputs": {
"ANY_ADDITIONAL_PROPERTY": true
}
}{
"execution_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation.
JSON schema for run inputs; null when there is no form.
Not found
Validation Error
GET /automations/{automation_id}/executions/form HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"inputs_schema": {
"ANY_ADDITIONAL_PROPERTY": true
}
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation.
The version number to retrieve.
The requested automation version with its nodes and edges.
Not found
Validation Error
GET /automations/{automation_id}/versions/{version} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
}Set a version's status. When activating, any previously active version is deactivated.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The UUID of the automation.
The version number to update.
The automation with the updated version.
Not found
Validation Error
PATCH /automations/{automation_id}/versions/{version}/status HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"status": "DRAFT"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by_id": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-01-01T00:00:00.000Z",
"loaded_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version": {
"version": 1,
"status": "DRAFT",
"viewport": {
"x": 1,
"y": 1,
"zoom": 1
},
"nodes": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"node_type": "TRIGGER",
"integration_id": "text",
"operation": "text",
"label": "text",
"config": {
"ANY_ADDITIONAL_PROPERTY": true
},
"position_x": 1,
"position_y": 1
}
],
"edges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"source_node_id": "123e4567-e89b-12d3-a456-426614174000",
"target_node_id": "123e4567-e89b-12d3-a456-426614174000",
"output_key": "text"
}
]
},
"active_version_number": 1,
"versions": [
{
"version": 1,
"status": "DRAFT"
}
]
}Public endpoint: callers authenticate with the trigger node's bearer token (enforced by the dispatcher when require_auth is enabled), not a Shade session.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The trigger node id embedded in the webhook URL.
Acknowledgement that an execution was queued.
Not found
Validation Error
POST /automations/webhooks/{trigger_node_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": "text"
}Last updated
Was this helpful?

