Hi I have been struggling for 2 days with this. Would be grateful if someone can help with that.
My goal
-
when a an order is placed in the Shopify I want to access the name of the items that has been ordered. Then make a https post request to Highlevel CRM
-
But apparently, when I use a custom webhook or watch order trigger it only access the last item.
Really stuck with it. Appreciate the help.
Welcome to the Make community!
If you need further assistance, please provide the following:
1. Screenshots of module fields and filters
Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at. You can upload images here using the Upload icon in the text editor.
2. Scenario blueprint
Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
3. And most importantly, Input/Output bundles
Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!
Join the Make Fans Discord server to chat with other makers!
1 Like
This is the output after the custom webhook
this is only bundle it returns after it catches the order from shopify
This are the item I wanna access.
this is how the module is set up
This should work:
Use the function map()
{{map(arraynamefromwebhook;title)}}
This will return an array of all the title
keys in the webhook array that comes in. It will be an array with each array element having a numbered key.
If the array is called line_items
with a key called title then it will be:
{{map(29.line_items;title)}}
I’m just guessing of course because it is hard to say unless you share the full output bundle(s) from the webhook output.
1 Like