@Tchinkatchuk - You might want to consider using a Code by Zapier step to perform the GET request. This will allow you to retrieve the raw body in the same code step. e.g.
const payload = await fetch("https://...").then((response) => response.json());
payload will contain the JSON payload returned from the GET request.
Thanks @ikbelkirasan ,
I’ll try the fetch with bearer from the previous step. This should work.
Great.
Hi @ikbelkirasan ,
I succeed in getting the payload but do you confirm that this payload will not be available in another step ?
My payload keys are dynamic and I can’t set a static mapping on my next step.
Sylvain
@Tchinkatchuk - If you want the payload to be available in the next steps then simply add it to the code step output.
output = {
payload
}]