Skip to main content
Custom workflow actions extend HubSpot’s automation capabilities by allowing your app to perform specialized tasks within workflows. When users build workflows in HubSpot, your custom actions will appear in the action selection panel alongside other workflow actions, enabling seamless integration of your app’s functionality into HubSpot’s automation ecosystem.

When to use custom workflow actions

Use custom workflow actions when you need to:
  • Integrate external services into HubSpot workflows (e.g., sending data to a third-party API, creating records in external systems).
  • Perform complex calculations or data transformations that aren’t available in standard workflow actions.
  • Automate app-specific tasks that users would otherwise need to do manually (e.g., generating documents or triggering notifications in your platform).
Custom workflow actions are ideal when your app needs to be part of HubSpot’s automation ecosystem, rather than just responding to events (which is better handled by webhooks).

Project structure

To define a custom workflow action for an app, create a workflow-actions directory within src/app/. Then, add a configuration file to that directory using the naming convention *-hsmeta.json.

Custom workflow action configuration

Below are the available configuration options for the *-hsmeta.json file.
You can also use the in-app custom action builder to create workflow actions using a visual tool, then export the JSON to use in the workflow action configuration file.

Fields marked with * are required.

Last modified on March 29, 2026