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).
Project structure
To define a custom workflow action for an app, create aworkflow-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.
Fields marked with * are required.