Skip to content
Variable names not ...
 
Notifications
Clear all

Variable names not appearing in subsequent modules

9 Posts
2 Users
0 Reactions
4 Views
simonh4004
(@simonh4004)
Posts: 5
Active Member
Topic starter
 

I have a straightforward setup: a webhook module to receive data, a second module to capture a time variable, and a third webhook module to send a response. When I try to edit the response webhook's body, the variables from the initial webhook module are not visible. However, variables from the second module are displayed (please refer to the screenshot below). Additionally, when attempting to add variables to the second module, it also doesn't show the variables from the first webhook module.

Screenshot of module body

 
Posted : 29/11/2024 5:00 pm
L_Duperval
(@l_duperval)
Posts: 39
Eminent Member
 

Hi there and welcome to the callin.io Community!

Have you tried running the webhook at least once to capture the data structure? If not, this might be the cause of the issue. The variable you've indicated seems to have been added manually, but it doesn't actually exist within the module being invoked.

Best regards,

P.S. You can paste your screenshots directly into the forum. There's no need to upload and share them via Google Drive.

 
Posted : 29/11/2024 11:24 pm
simonh4004
(@simonh4004)
Posts: 5
Active Member
Topic starter
 

Thanks for the suggestion! Yes, I've already tried that approach, and it's actually how I typically configure a scenario. Unfortunately, I'm still encountering the same issue.

 
Posted : 30/11/2024 12:31 pm
L_Duperval
(@l_duperval)
Posts: 39
Eminent Member
 

If you could share an export of your scenario, someone might be able to test it on their end and help diagnose the issue. Providing sample data would also be beneficial, particularly if it involves a POST webhook rather than a GET URL.

 
Posted : 02/12/2024 4:23 pm
simonh4004
(@simonh4004)
Posts: 5
Active Member
Topic starter
 

Hi,

I've loaded the exported blueprint. Here's an example cURL call (executed from a Mac terminal):

bash
curl -X PUT ‘< https://hook.eu2.callin.io/gnv4db85b23o3aptif49h9qao6qgrdry>’

This returns:

json
{ "results": [ { "toolCallId": ", "result": "The time is: 15:12" } ] }

The variable I need to populate is the toolCallId, which isn't available from the selection, as shown in the screenshot.

Thanks,
Simon
simpleScenario.json (5.8 KB)

I've figured out my mistake. I initially used callin.io for the test call, which provided the missing callerID. Since that call had issues, I attempted to isolate the scenario using a cURL call. As that cURL call doesn't provide the toolCallId, the tool doesn't offer it as a variable within the scenario.

 
Posted : 03/12/2024 3:42 pm
L_Duperval
(@l_duperval)
Posts: 39
Eminent Member
 

Hi,

Okay, I believe I understand the issue. It seems you're invoking the URL without any parameters.

Here’s what you should do:

  1. Select your webhook and redefine the data structure.
  1. Invoke it like this, and the webhook will understand the expected incoming data:

https://hook.eu2.make.com/gnv4db85b23o3aptif49h9qao6qgrdry?toolCallId=12345&amp;result=The+time+is%3A+15%3A12

  1. You will then be able to utilize the result in the final webhook of your scenario.

L

 
Posted : 04/12/2024 1:46 am
simonh4004
(@simonh4004)
Posts: 5
Active Member
Topic starter
 

That’s great, thanks.

 
Posted : 04/12/2024 1:57 pm
L_Duperval
(@l_duperval)
Posts: 39
Eminent Member
 

Great! If this resolves your issue, please consider marking it as the solution. This helps others who encounter the same problem find the answer more easily.

 
Posted : 05/12/2024 2:05 am
simonh4004
(@simonh4004)
Posts: 5
Active Member
Topic starter
 

Just to close this off - I ran the following from the command line (mac terminal):

bash
curl -X PUT ‘< https://hook.eu2.callin.io/gnv4db85b23o3aptif49h9qao6qgrdry?toolCallId=12345>’

As that passes in toolCallId, this then reappears in the second webhook when I want to define the outgoing datastructure. The reason for the confusion was that I had originally called this from callin.io (which supplies toolCallId) and subsequently wanted to test it using curl calls.

 
Posted : 06/12/2024 10:43 am
Share: