I am trying to use bundles generated by a text parser downstream. I can see all the bundles in the text parser and they have all the data parsed just like I need it. However, no matter what module I attach down stream I don’t see those bundles. How can I use these individual bundles down stream?
Thanks for any help!
Hello @Daryl_R_Weaver,
The parser acts like an iterator since it outputs multiple bundles.
Every module you have downstream will run once for each bundle produced by the text parser.
If you want to access individual bundles instead of processing each bundle, put an aggregator (like Array Aggregator) after the parser to convert all the bundles into a giant array from which you can choose elements.
I hope that makes sense and hope it helps!
3 Likes
Thanks for the reply. I tried that but get blank output. Below are my settings.
As you can see, the data is in the Arrray Aggregator. (Yes I want the HTML code)
This is my text aggregator settings
And here is the output
So it looks like you’ve got two Text Parser modules, and it’s unclear if you’re nesting them or if they are independent.
Also, in your second screenshot from your most recent post, Source Module should be the Text Parser module, since you’re aggregating data from that module.
In the same module, where you have “array” in black, it means the variable cannot be found. Here you should be mapping in the array from the Text Parser module. It will only look like one element, but that’s because it’s only showing you the content of the last bundle from a series of bundles.
To give you the most accurate responses, it would help to see your entire scenario. If you could export and post the blueprint for it that would be the most helpful.
Lastly, since you only want to access information from some of the Text Parser’s output, there are a few ways to handle it depending on how the rest of the scenario works.
2 Likes
Thanks again for your reply. I will try to give a bit more info.
We are recieving emails from a WIX form to Gmail
With Make we are watching for those emails, (Step 1)
extracting the email address from the form info since the return address is a WIX address, (Step 2)
Breaking down the HTML code into snippets from the tag (Step 3)
Creating a Gmail draft. (Step 4)
At the bottom of the Gmail draft, we want to insert SOME of code snippets extracted in Step 3
The Text Aggregator included in the last post, was simply to try to help me figure out what is happening without creating a GMail draft…
I believe I have figured out how to link to the right array but I still get incorrect output.
Here is the revelant code from my GMail template:
get(57.array; 6)
It returns [Collection]
Flow Overview
Got it
get(57.array[6].span)
Thanks for pointing me in the right direction.
Heya @Daryl_R_Weaver welcome to the community
I just want to quickly say congrats on getting this up and running with the assistance of @Donald_Mitchell
Thanks a lot for stepping back in here and sharing what did the final trick with the rest of us. This is super valuable and has the potential to help many others who are looking for similar information in the future
FYI: I marked your last comment as a solution to keep the community tidy and easy to search for answers.
1 Like