I’m new to n8n and have a question on how to get the following scenario to work correctly.
workflow is triggered by a webhook that sends some info to use with Twilio. The webhook sends an airtable field, and a “message”. The output of the webhook goes to airtable and ?? (tried set, merge). Based on the airtable node filter, it will return a single, or multiple numbers to send the message to. But because the “message” I want to send is in the webhook and not in airtable, I’m having difficulty getting the message included when there are multiple numbers to message. I’ve tried Set and Merge in different combinations but when I put them together only the first number gets the “message” included. Image of the workflow below. What is the best way to get the “message” from the webhook to be included with every SMS Twilio sends (based on airtable output)? Everything works fine except getting the message included with every number being sent an SMS.
Hard to provide a finished expression without knowing how exactly your data looks like but It sounds like you are looking for $item(). You can find the documentation here:
The expression would then probably look similar to this:
I didn’t do a good job of explaining my challenge… anyway, I got it figured out, I wasn’t using the Merge node correctly. Works great once I figured it out.
Next challenge… Based on my incoming webhook, I would like to trigger additional Twilio API calls that don’t currently exist in the Twilio node- voice, notify, etc. I understand it’s possible to create custom nodes, however, given I’m using your cloud I’m guessing my functionality is limited to nodes in the cloud. Is there a process to request node enhancements?
You can create a new topic as a feature request. Please feel free to explain your use-case so that when the functionality is added, we cover your use-case. In the meantime, you can use the HTTP Request node to make API calls to these endpoints.