KosmoKrator

automation

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.

7 functions 7 read 0 write Bearer token auth

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 use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token PIPEDREAM_ACCESS_TOKEN Secret secret yes Access Token
url PIPEDREAM_URL URL url no API Base URL

Call Pipedream Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call pipedream.pipedream_list_workflows '{
  "page": 1,
  "limit": 1
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:pipedream pipedream_list_workflows '{
  "page": 1,
  "limit": 1
}' --json

Agent Discovery Commands

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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Pipedream.

pipedream.pipedream_list_workflows

Read read

List automation workflows in Pipedream. Returns a paginated list of workflows with their IDs, names, and statuses.

Parameters
page, limit

Generic CLI call

kosmo integrations:call pipedream.pipedream_list_workflows '{"page":1,"limit":1}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_list_workflows '{"page":1,"limit":1}' --json

pipedream.pipedream_get_workflow

Read read

Get details of a specific Pipedream workflow by ID, including its configuration, steps, and current status.

Parameters
id

Generic CLI call

kosmo integrations:call pipedream.pipedream_get_workflow '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_get_workflow '{"id":"example_id"}' --json

pipedream.pipedream_list_components

Read read

List available Pipedream components (actions, triggers, etc.). Components are reusable building blocks for connecting to third-party APIs.

Parameters
type, limit

Generic CLI call

kosmo integrations:call pipedream.pipedream_list_components '{"type":"example_type","limit":1}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_list_components '{"type":"example_type","limit":1}' --json

pipedream.pipedream_get_component

Read read

Get details of a specific Pipedream component by app and component key. Returns the component configuration, props, and version info.

Parameters
app, id

Generic CLI call

kosmo integrations:call pipedream.pipedream_get_component '{"app":"example_app","id":"example_id"}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_get_component '{"app":"example_app","id":"example_id"}' --json

pipedream.pipedream_list_connected_accounts

Read read

List connected third-party accounts in Pipedream. These are the OAuth-connected accounts used by workflows to interact with external services.

Parameters
page, limit

Generic CLI call

kosmo integrations:call pipedream.pipedream_list_connected_accounts '{"page":1,"limit":1}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_list_connected_accounts '{"page":1,"limit":1}' --json

pipedream.pipedream_list_triggers

Read read

List event triggers for a specific Pipedream workflow. Triggers define the events that cause a workflow to run.

Parameters
workflow_id

Generic CLI call

kosmo integrations:call pipedream.pipedream_list_triggers '{"workflow_id":"example_workflow_id"}' --json

Provider shortcut

kosmo integrations:pipedream pipedream_list_triggers '{"workflow_id":"example_workflow_id"}' --json

pipedream.pipedream_get_current_user

Read read

Get the currently authenticated Pipedream user profile, including name, email, and workspace details.

Parameters
none

Generic CLI call

kosmo integrations:call pipedream.pipedream_get_current_user '{}' --json

Provider shortcut

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

List automation workflows in Pipedream. Returns a paginated list of workflows with their IDs, names, and statuses.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_list_workflows --json
ParameterTypeRequiredDescription
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

Get details of a specific Pipedream workflow by ID, including its configuration, steps, and current status.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_get_workflow --json
ParameterTypeRequiredDescription
id string yes The workflow ID.

pipedream.pipedream_list_components

List available Pipedream components (actions, triggers, etc.). Components are reusable building blocks for connecting to third-party APIs.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_list_components --json
ParameterTypeRequiredDescription
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

Get details of a specific Pipedream component by app and component key. Returns the component configuration, props, and version info.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_get_component --json
ParameterTypeRequiredDescription
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

List connected third-party accounts in Pipedream. These are the OAuth-connected accounts used by workflows to interact with external services.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_list_connected_accounts --json
ParameterTypeRequiredDescription
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

List event triggers for a specific Pipedream workflow. Triggers define the events that cause a workflow to run.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_list_triggers --json
ParameterTypeRequiredDescription
workflow_id string yes The workflow ID to list triggers for.

pipedream.pipedream_get_current_user

Get the currently authenticated Pipedream user profile, including name, email, and workspace details.

Operation
Read read
Schema command
kosmo integrations:schema pipedream.pipedream_get_current_user --json
ParameterTypeRequiredDescription
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.