Hi dear community,
I’m following these instructions, but I’m stuck at the final part where I need to reference the output of my XML parser: https://www.make.com/en/blog/salesforce-webhooks.
This is the output in module 2:
In my next module (module 3) I’m trying to reference the variable ‘sf:Id’ which is nested under various collections and arrays. My 3rd module is not showing me the output as it usually does, so I’ve tried to ‘guess’ the variable reference myself:
{{2.soapenv:Envelope.soapenv:Body.notifications.Notification.sObject.sf:Id}}
I’ve also tried this: {{60.sf:Id}}
Which was suggested to my by the make ai.
Both are giving me the error ‘Missing value of required parameter ‘record’.’
How can I reference the sf:Id correctly?
Very much appreciate any help!
Have you tried adding an “Iterator” module after the parse XML module?
If you put the the “sf:id” as the value for the iterator it should then extract what you need so you can map it into your next module.
Not 100% sure if this will work but give it a try and let me know!
Welcome to the Make community!
You forgot the array index "1"s all the way down.
{{ 2.soapenv:Envelope.soapenv:Body.1.notifications.1.Notification.1.sObject.1.sf:Id.1 }}
I suggest do not use the Make AI, it is stupid at the moment and hallucinates (make up fake stuff if it doesn’t know) answers. You are better off doing the Make Academy yourself.
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
Getting Started
Help Centre Basics
Articles & Videos
Partner & Custom Apps
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
1 Like
Amazing, works and super clear! I’ll follow your tips for the academy as well, thanks Samliew!
2 Likes