Send an AI generated reply text using xAI from my Twilio number using the Twilio Module - create a message
What is the problem & what have you tried?
BundleValidationError
Validation failed for 2 parameter(s).
Missing value of required parameter âtoâ.
Missing value of required parameter âmessageBodyâ.
Flow starts with a custom webhook and fires to the xAI automated reply which is working.
However the webhook doesnât provide the parameter (only provides E.164 format Number from caller which wonât work if there are different callers trying to reach me) and messageBody isnât working. Where can I find the parameters to get the scenario to work?
Error messages or input/output bundles
BundleValidationError
Validation failed for 2 parameter(s).
Missing value of required parameter âtoâ.
Missing value of required parameter âmessageBodyâ.
Your Twilio error is just missing mappings in Make, in the Create a Message module, map the callerâs E.164 number from the webhook into the To field, and map your xAI reply text into message Body/Body. The dynamic caller number is fine for multiple callers as long as that field is correctly passed through each time.
Thanks for the reply! I tried to input {{from}} to map to the caller ID. Just to confirm, are you saying add the caller +614xxxxxxxx number into the âtoâ field and that will be treated as a dynamic caller number? And how do I map the xAI reply into the messageBody? {{result}} has been failing for me so if there is anything I should look out for Iâll give that a try instead
Weâd love to help, however, we require more information that demonstrates the problem to help us reproduce the scenario and any issues and errors.
To allow others to assist you, please provide the following:
1. All Relevant Screenshots
We need to see what youâre working with to give you the best advice. Screenshots are important because Make is a visual editor â a picture provides us with more context.
It would help us identify the issue by having screenshots of:
the full scenario, and the zoomed in parts of the scenario that you are referring to (if your scenario is huge),
a full scenario run/execution from the history (showing output âspeechâ bubbles),
relevant module fields (showing how youâve used any built-in functions, and how youâve mapped the variables),
relevant filters between modules (showing which operators and any built-in functions youâve used, and how youâve mapped the variables),
relevant module input/output bubbles,
if applicable, any error messages,
and if applicable, any external services (spreadsheet headers/ sample data/ regex101.com/ etc. to show the item/ record exists, and is set up correctly).
Need helpâView instructions â
We would appreciate it if you could directly upload screenshots here instead of linking to them outside of this forum. This allows us to zoom in on the image when clicked, and also having improved privacy from third-party sources.
Taking Screenshots
Microsoft Windows: Take screenshots using the âWindows Snipping Toolâ, by pressing either PrtScorWinShiftS keys on your keyboard.
MacOS: Take screenshots by pressing CommandShift4 keys on your keyboard.
Uploading Attachments
Drag image files directly into the rich-text editor, or
Click on the upload button in the editor toolbar to select files:
2. Scenario Blueprint
Providing your scenario will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return. This would benefit you in implementing our suggestions as you can view screenshots of the changes or paste corrected modules back into your scenario.
Need helpâView instructions â
A. Export Blueprint
In the scenario editor, click the three dots at the top-right, then select âExport blueprintâ.
You can upload files and images to this forum by clicking on the upload button:
Uploading an attachment here will look like this: blueprint.json (12.3 KB)
B. Create Public Share Link
In the scenario editor, click on the Share button:
Read more about the scenario sharing feature in the Help Centre.
3. Module Output Bundles
Please provide the output bundles (input bundles are not so crucial) of each of the relevant modules by running the scenario, or get output bundles from a previous scenario run from the âHistoryâ tab.
Providing the output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections), especially if external services are involved, and help you with mapping the raw property names from collections.
Need helpâView instructions â
Click on the white speech bubbles on the top-right of each module and select âDownload output bundlesâ.
A. Upload a Text File
Save each bundle contents in a plain text editor as a bundle.txt file. Open the file to check if it has not added additional formatting or encoded the plain text.
You can upload files and images to this forum by clicking on the upload button:
Uploading an attachment here will look like this: output-bundle.txt (12.3 KB)
B. Insert a Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the bundles AND format them correctly.
Formatting IS Important!
Here are some ways to provide text content in a way that it wonât be modified by the forum.
Method 1: Type code fence manually â
Manually type three backticks ``` in a separate line before and after the content, like this,
```
text goes here
```
Method 2: Highlight the pasted content, then click the preformatted text/code button â
Method 3: Upload your file elsewhere and share the public link â
This method is only advised for large files exceeding the forum upload limit.
Sharing these details will make it easier for others to assist you, so that you can get better answers, faster.