Configure workflow to send to external API | Community
Skip to main content
alexb75062655
Level 2
November 9, 2020
Solved

Configure workflow to send to external API

  • November 9, 2020
  • 1 reply
  • 2422 views

I have a use case where we want to send data to a 3rd party endpoint as part of a workflow, however, it seems like this isn't currently possible. I'm aware of the External API action within workflows but it looks like this is limited to GET requests rather than POST. 

 

Has anyone found a solution for this use case?

Edit to original question: it actually looks like it's the request structure that's the problem. The API endpoint I'm calling is expecting a flat JSON structure, whereas the Post Body Template that's generated is nested

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang
Unfortunately there is no option for changing the structure today. So if any special format is needed, you may indeed to pass it through a formatting service

1 reply

DavidKangni
Community Advisor
Community Advisor
November 9, 2020

Hi Alex,

 

You can do both GET and POST using external API. Please refer to some recent posts on that.

ACS Externa API 

Thanks,

David

David Kangni
alexb75062655
Level 2
November 9, 2020

Yes, thanks, I realised that after my original post, hence the edit referring to, what seems to be, a non-editable Post Body Template. Based on the other posts available, it seems that there is no option to change this template structure. I know that I could send the request to my own endpoint, re-format it, and then send it on to the API I'm dealing with but I'm just surprised that there's no option to change the structure within the workflow action.