My custom app uses a webhook to receive an event. Then makes a call to an external system to get more information before passing that along in Make. The external call requires the API Key that the user added as a parameter (tried with both the connection parameter and webhook parameter). But my ‘module’ that has type = instant trigger is that thing that actually needs to make the external API call correct? And in which case can’t access the ‘API Key’ parameter from either the connect or webhook input. So how do you make an API call from the module with the API Key?
I’ve tried storing the apiKey in a ‘temp’ variable and as a ‘data’ output from the webhook, but it seems that both of those cases require the apiKey to be handed back in the response of the webhook, but not as an actual user parameter.
So the simple question is, how do you make an API call with a custom app using the ‘Instant Trigger’ type that uses one of the user input parameters?
Here is an example of a call and header that I have tried adding to the module directly, AND have tried to inherit it from base, AND have tried inherit from webhooks AND have tried inherit from connection. And I have switched out the header variable ‘parameters’ to a million different options. I feel like Im just missing something.
“url”: “https://my-api-call-here”,
“method”: “POST”,
“headers”: {
“x-api-key”: “{{parameters.apiKey}}”
},
I feel that I’ve tried EVERYTHING over the last couple days, so unless there is something I don’t know it doesn’t seem possible. And it seems that the module ‘static parameters’ (which would be the obvious path) isn’t supported anymore because adding fields there won’t actually show up on the module interface.