You can use this endpoint to automatically receive events, like workflow errors, in another listening workflow or event source. Once you setup the auto-subscription, any new workflows or event sources you create will automatically deliver the specified events to the listener.
Note: this will configure subscriptions for new workflows and sources after the time you configure the subscription. To deliver events to your listener from existing workflows or sources, use the POST /subscriptions
endpoint.
Currently, this feature is enabled only on the API. The Pipedream UI will not display the sources configured as listeners using this API.
The name of the event stream whose events you’d like to receive:
$errors
: Any errors thrown by workflows or sources are emitted to this stream$logs
: Any logs produced by event sources are emitted to this streamThe ID of the component or workflow you’d like to receive events.
See the component endpoints for information on how to retrieve the ID of existing components. You can retrieve the ID of your workflow in your workflow’s URL - it’s the string p_2gCPml
in https://pipedream.com/@dylan/example-rss-sql-workflow-p_2gCPml/edit
.