To highlight the wide range of possible use cases for the custom code actions in HubSpot workflows, we are writing and collecting sample code snippets. If you want to contribute, please submit your code here.
If your use case and code snippets is accepted and reviewed by our team, it will be displayed on our Programmable Automation Use Case Library
If you would like more information. Check out our docs on the custom code action, as well as the developer docs.