API calling / Custom Action problem

Hi everyone,

I tried to called a webhook and it did successfully come back with some response (if i click on the show full response button), but it somehow fail to capture it as an output (the part in the middle) which then result in the fact that i couldn’t actually get to use whats generated from the api for my further processing.

Million thanks in advance!

Hi @simonator,

Your “Webhook response” module isn’t configured correctly in Make.
You might need to add
Content-type: application/json
as a header.

Also check the payload - I can’t quite understand why you have “json” as a start of the response (it shouldn’t be there).

Best,
Victor.

Thanks Victor for your reply, however i tried again following your suggestion adding the content-type header in the api call but still seems to get a valid output in the test run. Any clue as to what other things might have gone wrong? Million thanks again in advance!

Hi @simonator,

You need to set up your Webhook Response correctly. Here is the example which returns 2 resulting values: “result” and “comments”. When someome presses “Add Item” in Adalo custom action, they will be able to add them as a result and then use them in the subsequent Adalo actions.

Best,
Victor

Got it now, million thanks Victor!

1 Like