Hello everyone,
I’ve been really struggling trying to get this scenario to work. It’s my first time using Make and I’m about at my wits end for getting this scenario to work correctly without using a ton of operations per run.
Here’s the breakdown:
Step 1: Watch Emails - Look for XML emails from specific email address
Step 2: Parse XML - Parse raw XML file that comes over via email from our business partner
Step 3: Text Parser Match Pattern (Advanced) - Parse through the XML file CDATA Comments to extract the necessary information needed. This is where I seem to be having an issue. I want to pull multiple fields in the same text parser so that I don’t use a million operations for each individual pattern, like this:
Do I have the pattern set up incorrectly to capture multiple fields on one module? I followed the AI helper in Make and that’s what it told me to use.
Step 4: Array Aggregator - Take the data from the Text Parser and aggregate it to put it into a Set Multiple Variables Module
Step 5: Set Multiple Variables - Take the data from the Array Aggregator and put it into variables. I’m also stuck here because it only gives me one option to add to the Variable Value field, so when the contact is created in GHL, all the variables have the same value relating to the first item in the text parser.
Step 6: GHL LeadConnector Create a Contact - Create a GHL contact using all the fields from the XML CDATA Comments after they’ve been parsed.
TLDR; I want to parse all the data from the XML file using ONE single text parser with multiple patterns (to limit operation count), map all that data to their respective variables using the Set Multiple Variables module, and then link those variables to the corresponding GHL contact fields and create 1 contact with all that data. I’ve been at this for about a week now and just can’t figure it out, so any help would be GREATLY appreciated.
Thank you so much!