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}”?

Hi, @GFrancisco :waving_hand: 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

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 → Accounts Dashboard | HubSpot

Also the npm library throw a weird error that I opened an issue for Automation functions API createOrReplaceByFunctionType doesn't works · Issue #427 · HubSpot/hubspot-api-nodejs · GitHub