cancel
Showing results for 
Search instead for 
Did you mean: 

multiple HTTP connection endpoints within 1 recipe

shruti-2-sharma
Deputy Chef I
Deputy Chef I

I am trying to create recipe to call more than 1 http connector.

But facing issue while using multiple HTTP connection endpoints within 1 recipe.

only one connection work at a time.

please suggest me how to do it.

Thanks in advance

1 ACCEPTED SOLUTION

max-knutsson
Workato employee
Workato employee

So all of these are totally different systems/APIs?

If answer is Yes, then I see 2 options

1. Use a callable function (go to next step => search callable recipe by workato) because if using callable function you will not hit the HTTP connector limit, basically you can have as many callables as you want.

a) Create a callable function for API 1 - use whatever authentication method required for this API, create parameters that you need to push to this callable recipe, call the API then return the result back to the MAIN recipe

b) repeat the same steps 4 more times until you have 5 callable functions, each calling their own api, accepting their own Parameters and return Result


2. Second option is to use HTTP to 5 different APIs but create a "generic" http connector which has "Authentication" NONE and authentication using HTTP headers manually for each call. This will be messy as its not very reusable. For reusability/Best practice I recommend option 1, use this option only as last resort, as pointed out by Joseph above.






View solution in original post

11 REPLIES 11

roland-daane
Deputy Chef II
Deputy Chef II

Whats the issue?
I have recipes the have multiple http connectors to different systems like Bim360, Sharepoint and Forge

a-muthiah
Deputy Chef I
Deputy Chef I

Classification: Confidential

Hi

You can use a secondary connector

https://docs.workato.com/features/secondary-connectors.html#how-to-use-a-secondary-connector-on-work...

Thanks,

Muthiah

 

 

james-ng
Deputy Chef I
Deputy Chef I

how about calling another recipe with the second http connector?

max-knutsson
Workato employee
Workato employee

the second http connector should help. Unless you need more than 2 in one Recipe