capabilities.work

Discover and Run an Action

A 3-step recipe with Pipedream. We can help you get access.

Recipe · 3 steps

Discover and Run an Action

List, inspect, and run a Connect action for an external user.

  1. Search the registry for actions belonging to the target app so the caller can confirm the chosen action key exists.
  2. Retrieve the selected action component to confirm its name and the configurable props that must be supplied at run time.
  3. Run the action for the external user with the supplied configured props and capture its returned value and exports.
What you'll need to have ready
  • projectId: The project ID, which starts with proj_.
  • environment: The Connect environment (development or production).
  • externalUserId: Your end user identifier on whose behalf the action runs.
  • app: The ID or name slug of the app to filter actions by.
  • componentId: The key of the action component to run (e.g. "slack-send-message").
  • configuredProps: The configured props payload required by the action.
For your developer

Arazzo workflow pipedream:run-action-for-app, 3 operations: listActions → retrieveAction → runAction. Specs on APIs.io.