Hi,
I want to call 2 API requests in the same trigger
and I want to include the response of the 2 APIs in the result
Hi
Can you please clarify your question.
Do you mean have 2 different apps trigger the same Zap?
OR
Do you mean have 2 different API requests made in the same Zap?
App APIs can be used in Zaps with the Webhooks app.
Check out the available Zap triggers/actions: https://zapier.com/apps/webhook/integrations#triggers-and-actions
Hi
I want 2 different API requests made in the same Zap?
App APIs can be used in Zaps with the Webhooks app.
Check out the available Zap actions: https://zapier.com/apps/webhook/integrations#triggers-and-actions
thank you
I also want to know if there is another solution by switching to the code mode and trying to make 2 API requests
Hey
That is possible to do. It looks like you are already using code mode. You will need to write javascript to chain those requests and promise handlers together. You can find more information on how to make HTTP requests here: https://github.com/zapier/zapier-platform/blob/master/packages/cli/README.md#making-http-requests (The documentation is for the CLI platform but you can use the same in Code mode).
Just to be upfront I want to let you know that we don't offer support on how to structure your code and how to write Javascript. Code Mode is an advanced feature and we'd recommend using it if you have some experience in writing JS Code. But we're more than happy to answer questions around specific parts of our docs or help troubleshoot any platform errors you may encounter.
Due to this being Code-related, I am going to move this post into the “Code and Webhooks” category to get the right sets of eyes on this, should you have any follow-up questions.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.