Hello.
I’ve created a scenario through which an email is received from an account. From the text of the received email, I created a “text parser” module with regex code to obtain some variables from the text. In principle, everything is correct.
scennario.pdf (97.5 KB)
input_array_agregator.txt (1.9 KB)
outbounds_text_parser.txt (1009 Bytes)
Later, I grouped the variables through an “array aggregator” module, and the result seems to be correct.
The problem arises when I try to map the results obtained from the “array aggregator” module to send an email with those variables, as it only recognizes the first variable.
Could you help me? Thank you.
1 Like
Welcome to the Make community!
You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).
To allow others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Could you please share screenshots of your full scenario? Also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.
You can upload images here using the Upload icon in the text editor:

We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and prevent tracking cookies from third-party websites.
Hey Ismael,
most likely you are mapping the first item from the array and not the entire array.
I think I did it right, but I’m posting the video so you can check it out. I don’t know what I’m doing wrong. Thanks.
1 Like
You dont need the array aggregator there. There is something wrong with the way your Text parser is setup → it should be returning one bundle with all the variables and not one bundle with one variable filled and the rest empty.
Can you show the regex you are using and how that module is setup?
Sure:
(?<nombre>(?:Hola 👋 |Hi 👋 )(.*?)(?:, Hemos|, We have))|(?<horario>(?:hora:|time:)(.*?)(?: 🔢))|(?<comensales>(?:comensales:|dinners:)(.*?)(?:⛱|⛱))|(?<zona>(?:Zona: |Zone: )(.*?)(?:Estamos|We are))|(?<email>email\s*\(\s*(?<email_address>[^)]+)\s*\))|(?<movil>\++?\d{1,3}[\s-]?\d{3}[\s-]?\d{3}[\s-]?\d{2}[\s-]?\d{2})|(?<marketing>(?:solicitud\.|application\.)(.*?)(?:\s*(?:Seis|El)\b))|(?<cancel>(?:schema)(.*?)(?:\]))
1 Like
And what is the text you are searching? Also can you share a screenshot of how the text parser module is setup right now?
Text where module search:
[https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_1.png] https://www.seisperlas.com/ [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_2.png]https://www.facebook.com/seisperlas/?locale=es_ES [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_3.png]https://twitter.com/seisperlas [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_4.png]https://www.instagram.com/seisperlas/?hl=es [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_5.png]https://www.tripadvisor.es/Restaurant_Review-g947010-d994261-Reviews-Seis_Perlas-Campello_Costa_Blanca_Province_of_Alicante_Valencian_Community.html [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_6.png] Solicitud de reserva recibida Hola 👋 ISMAEL PRUEBA7, Hemos recibido tu solicitud de reserva con los siguientes datos: 📅 Día y hora: 9 de abril de 2025 a las 13:00 🔢 Nº de comensales: 3 ⛱ Zona: SALÓN Estamos tramitando tu solicitud y te confirmaremos vía email (isgaso@gmail.com) y/o móvil (+34666425027) lo antes posible si hay disponibilidad para la fecha y hora que nos has indicado. Mientras tanto, puedes visitar nuestra web [https://seisperlas.com] y conocernos mejor. Te agradecemos el interés por nuestro restaurante y te mantendremos informado sobre el estado de tu solicitud. true El equipo del Seis Perlas Si por cualquier circunstancia necesitas cancelar la reserva, puedes hacerlo pinchando aquí: Cancelar Solicitud [https://v62-staging-aws.dual-link.com/booking/schema/6D12C92C-6FC2-4153-9667-1DFBA785E417/5DF415CB-4F76-4BC8-A95F-D5CAF138519C/cancel-request] Recuerda lo que te ofrecemos: 01. [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_7.png] Gastronomía Tradición y vanguardia de la cocina mediterránea 02. [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_8.png] Producto Buscamos la la mejor calidad para ofreceros 03. [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_9.png] Servicio Somos profesionales de la hostelería 04. [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_10.png] Ubicación Nos encontramos en una ubicación única y privilegiada Aprovecha tu visita para conocer nuestro pueblo: El Campello Un lugar donde el sol brilla casi todo el año, el mar te acaricia con su brisa y la historia te envuelve con su magia. Podrás pasear por su extensa playa de arena fina, bañarte en sus calas de aguas cristalinas, practicar deportes náuticos, degustar su rica gastronomía mediterránea y descubrir su patrimonio cultural y natural. Turismo El Campello [https://www.elcampelloturismo.com/campello/web_php/index.php?lang=1] [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_11.jpg] ¿Necesitas ayuda? 📍 Calle San Vicente 97, El Campello (Alicante) 📞 965 63 04 62 - 965 63 39 91 📲 WhatsApp [https://wa.me/34695959473?text=Hola%2C%20necesito%20informaci%C3%B3n] ✉️ reservas@seisperlas.com [https://seisperlas.com/email/solicitud%20reserva_ES/imgs/img_2643_1.png] https://www.seisperlas.com/ Copyright © 2025 Perla Alicante S.L. - B53088183
Capture setup text parser module:
1 Like
Ah OK I see what is going on. You are searching for very different items here, this is why it is returning them in separate bundles.
Here is an updated regex:
(/(?:Hola 👋 |Hi 👋 )(?<nombre>.*?)(?:, Hemos|, We have)|(?:hora:|time:)\s*(?<horario>[^🔢]+)\s*🔢|(?:comensales:|dinners:)\s*(?<comensales>[^⛱]+)\s*⛱|(?:Zona: |Zone: )(?<zona>.*?)(?:Estamos|We are)|email\s*\(\s*(?<email_address>[^)]+)\s*\)|(?<movil>\+?\d{1,3}[\s-]?\d{3}[\s-]?\d{3}[\s-]?\d{2}[\s-]?\d{2})|(?:solicitud\.|application\.)(?<marketing>.*?)(?:\s*(?:Seis|El)\b)|schema(?<cancel>.*?)]/)
You can then use an aggregator and set it it to group by $1.
Then in the following module you can use the bundle order position to place every item in the correct spot.
Hello! Thanks. I tried the regex code, but the result shows two variables missing. Specifically: the “name” variable and the “cancel” variable.
1 Like