automation
Pipedream CLI for Shell Scripts
Use the Pipedream CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Pipedream CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Pipedream CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Pipedream CLI for Shell Scripts
kosmokrator integrations:configure pipedream --set access_token="$PIPEDREAM_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call pipedream.pipedream_list_workflows '{"page":1,"limit":1}' --json Discovery Before Execution
Agents and scripts can inspect Pipedream docs and schemas 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 Useful Pipedream CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
pipedream.pipedream_list_workflows | Read | page, limit | List automation workflows in Pipedream. Returns a paginated list of workflows with their IDs, names, and statuses. |
pipedream.pipedream_get_workflow | Read | id | Get details of a specific Pipedream workflow by ID, including its configuration, steps, and current status. |
pipedream.pipedream_list_components | Read | type, limit | List available Pipedream components (actions, triggers, etc.). Components are reusable building blocks for connecting to third-party APIs. |
pipedream.pipedream_get_component | Read | app, id | Get details of a specific Pipedream component by app and component key. Returns the component configuration, props, and version info. |
pipedream.pipedream_list_connected_accounts | Read | page, limit | List connected third-party accounts in Pipedream. These are the OAuth-connected accounts used by workflows to interact with external services. |
pipedream.pipedream_list_triggers | Read | workflow_id | List event triggers for a specific Pipedream workflow. Triggers define the events that cause a workflow to run. |
pipedream.pipedream_get_current_user | Read | none | Get the currently authenticated Pipedream user profile, including name, email, and workspace details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.