APIs & Integrations

GFrancisco
Member

Can't make the automation functions API to work

Any available curl examples on how to use the "/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}"?

 

 

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Can't make the automation functions API to work

Hi, @GFrancisco 👋 When asking the community for help, it's useful to share a simple example request and response along with the error returned. Even if it's not working as expected. 

 

Additionally, I agree that the documentation examples are not as robust here as in other places. 

 

Talk soon! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
GFrancisco
Member

Can't make the automation functions API to work

While doing the requested example, I just realized it's a bug on the npm library and the documentation. If you try to send the request directly on the docs it will not work -> https://developers.hubspot.com/docs/api/automation/custom-workflow-actions

 

Also the npm library throw a weird error that I opened an issue for https://github.com/HubSpot/hubspot-api-nodejs/issues/427