productivity
Pipedream CLI for AI Agents
Use the Pipedream CLI from KosmoKrator to call Pipedream tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Pipedream CLI Setup
Pipedream can be configured headlessly with `kosmokrator integrations:configure pipedream`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure pipedream --set access_token="$PIPEDREAM_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor pipedream --json
kosmokrator integrations:status --json Credentials
Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | PIPEDREAM_ACCESS_TOKEN | Secret secret | yes | Access Token |
url | PIPEDREAM_URL | URL url | no | API Base URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call pipedream.pipedream_list_workflows '{"page":1,"limit":1}' --json kosmo integrations:pipedream pipedream_list_workflows '{"page":1,"limit":1}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs pipedream --json
kosmo integrations:docs pipedream.pipedream_list_workflows --json
kosmo integrations:schema pipedream.pipedream_list_workflows --json
kosmo integrations:search "Pipedream" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
pipedream.pipedream_list_workflows
List automation workflows in Pipedream. Returns a paginated list of workflows with their IDs, names, and statuses.
read - Parameters
- page, limit
kosmo integrations:call pipedream.pipedream_list_workflows '{"page":1,"limit":1}' --json kosmo integrations:pipedream pipedream_list_workflows '{"page":1,"limit":1}' --json pipedream.pipedream_get_workflow
Get details of a specific Pipedream workflow by ID, including its configuration, steps, and current status.
read - Parameters
- id
kosmo integrations:call pipedream.pipedream_get_workflow '{"id":"example_id"}' --json kosmo integrations:pipedream pipedream_get_workflow '{"id":"example_id"}' --json pipedream.pipedream_list_components
List available Pipedream components (actions, triggers, etc.). Components are reusable building blocks for connecting to third-party APIs.
read - Parameters
- type, limit
kosmo integrations:call pipedream.pipedream_list_components '{"type":"example_type","limit":1}' --json kosmo integrations:pipedream pipedream_list_components '{"type":"example_type","limit":1}' --json pipedream.pipedream_get_component
Get details of a specific Pipedream component by app and component key. Returns the component configuration, props, and version info.
read - Parameters
- app, id
kosmo integrations:call pipedream.pipedream_get_component '{"app":"example_app","id":"example_id"}' --json kosmo integrations:pipedream pipedream_get_component '{"app":"example_app","id":"example_id"}' --json pipedream.pipedream_list_connected_accounts
List connected third-party accounts in Pipedream. These are the OAuth-connected accounts used by workflows to interact with external services.
read - Parameters
- page, limit
kosmo integrations:call pipedream.pipedream_list_connected_accounts '{"page":1,"limit":1}' --json kosmo integrations:pipedream pipedream_list_connected_accounts '{"page":1,"limit":1}' --json pipedream.pipedream_list_triggers
List event triggers for a specific Pipedream workflow. Triggers define the events that cause a workflow to run.
read - Parameters
- workflow_id
kosmo integrations:call pipedream.pipedream_list_triggers '{"workflow_id":"example_workflow_id"}' --json kosmo integrations:pipedream pipedream_list_triggers '{"workflow_id":"example_workflow_id"}' --json pipedream.pipedream_get_current_user
Get the currently authenticated Pipedream user profile, including name, email, and workspace details.
read - Parameters
- none
kosmo integrations:call pipedream.pipedream_get_current_user '{}' --json kosmo integrations:pipedream pipedream_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
pipedream.pipedream_list_workflows 2 parameters
kosmo integrations:schema pipedream.pipedream_list_workflows --json | Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number for pagination (default: 1). |
limit | integer | no | Number of workflows to return per page (default: 25, max: 100). |
pipedream.pipedream_get_workflow 1 parameters
kosmo integrations:schema pipedream.pipedream_get_workflow --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The workflow ID. |
pipedream.pipedream_list_components 2 parameters
kosmo integrations:schema pipedream.pipedream_list_components --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | no | Component type filter. Common values: "action", "trigger". Omit to list all types. |
limit | integer | no | Number of components to return per page (default: 25, max: 100). |
pipedream.pipedream_get_component 2 parameters
kosmo integrations:schema pipedream.pipedream_get_component --json | Parameter | Type | Required | Description |
|---|---|---|---|
app | string | yes | The app slug (e.g., "slack", "github", "google_sheets"). |
id | string | yes | The component key or ID (e.g., "send-message"). |
pipedream.pipedream_list_connected_accounts 2 parameters
kosmo integrations:schema pipedream.pipedream_list_connected_accounts --json | Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number for pagination (default: 1). |
limit | integer | no | Number of accounts to return per page (default: 25, max: 100). |
pipedream.pipedream_list_triggers 1 parameters
kosmo integrations:schema pipedream.pipedream_list_triggers --json | Parameter | Type | Required | Description |
|---|---|---|---|
workflow_id | string | yes | The workflow ID to list triggers for. |
pipedream.pipedream_get_current_user 0 parameters
kosmo integrations:schema pipedream.pipedream_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.