Hi everyone, I’m running into an issue with the Text Parser module.
I’ve set up a scenario where OpenAI returns a response containing multiple structured blocks of data using consistent formatting (e.g., sectioned Markdown-style output). I’m using the Text Parser with a regex pattern designed to match and extract each repeated block into bundles.
Global match is enabled
Pattern works correctly in manual tests
OpenAI output is mapped from choices[0].text
However, when I run the scenario, the Text Parser either returns only one bundle or throws a “Missing value of required parameter ‘text’” error.
Has anyone successfully used the Text Parser to split multiple structured sections from a text output like this? Any tips on verifying whether the text is being properly passed or parsed?
Hey there,
can you post the regex you are using, a screenshot of the module setup and a sample text string to test against?
Regex Pattern Used:
**Name:** (?.+?)\s+**Ingredient Measurements:**\s+(?(?:- .+\s+)+)**Instructions:**\s+(?(?:\d+..+\s*)+)**Macronutrients per serving:**\s± Calories: (?\d+) kcal\s± Protein: (?\d+) g\s± Carbs: (?\d+) g\s± Fats: (?\d+) g
Module Setup Screenshot:
Error Shown in Text Parser Module:
Sample Text String (used in the OpenAI output):
Name: Option 1
Ingredient Measurements:
- 1 base unit
- 1 scoop supplement
- 1 optional additive
Instructions:
- Combine all elements.
- Prepare using chosen method.
Macronutrients per serving:
- Calories: 215 kcal
- Protein: 25 g
- Carbs: 12 g
- Fats: 7 g
Here is the regex I’m using, screenshot of the module setup, and sample test string to test against. I hope this is what your looking for, Thank you.
Can you paste the regex inside a code block? It seems something broke it in the formatting ands it giving an error that its an invalid regex.
The error you are showing in the screenshot is because you ran the module on its own. In this case, you need to provide it with the input.
And usually, if it only finds one match instead of all of them, its because Global Match was turned off, but you are missing a screenshot of the module setup so I cant confirm if this is the case here.
Module setup:
 are being extracted, which means I’m unable to map structured data into separate columns in Google Sheets.
It appears the overall block is being recognized, but the subfields within that structure aren’t being matched correctly. Could this be an issue with how the regex is written, or is it related to the way the input string is formatted?
But the error is showing there is no text at all coming in?
Sorry my mistake to be confusing i had not attached my screenshot, i had ran scenario again previously and it went through, however this is what had came where i was referring Fallback Match array:
However now after running scenario again to see if the same issue will keep happening, it is now not going through to the ‘Update a Row google sheets module’:
, and stopping at the text parser where it now says:
Does this information give a bit more clarity ?
Welcome to the Make community!
Could you go to regex101.com, paste in your Pattern at the top and paste a complete/full example text you are trying to match from below it?

Then, save the regex example and share the link with us here.
This will allow others to assist you here with your pattern. Thanks!