What is your goal?
From a standard outlook email with a meeting confirmation I want specific rows in the text to get put into variables so I can select them with recognizable names in Notion properties. Such as meeting date, attendee, email address, LinkedURL. Then In Notion I can create a new meeting/activity that will carry on my automation.
This is the email format:
LET OP, DEZE AFSPRAAK DIENT NOG DOOR U MIDDELS EEN OUTLOOKINVITE BEVESTIGD TE WORDEN AAN DE PROSPECT
AFSPRAAKGEGEVENS
Campagne: XXX Marketing - 2025
Project: XXX Marketing - 2025 - test
Afspraaknr.: 010675251120002203001
Ctpid: 9745
Profieleigenaar: XXX@XXX.nl
Afspraakdatum: vrijdag, 21 november 2025 om 09:45 uur
Afspraak voor: XXXX first name last name
Gemaakt door: XXX first name last name
Resultaatcode: Afspraak test
BEDRIJFSGEGEVENS
Bedrijfsnaam: XXX
Adres: Test 1 a
Postcode en Stad: 1544NC XXX
Telefoon: 06XXX
GEGEVENS CONTACTPERSOON:
Geslacht: De heer
Voornaam: XXX
Tussenvoegsel: X
Achternaam: XXX
Functie: Coach
Telefoon: 06XXXXX
Mobielnr.: 06XXXXXXX
E-mail: XXX@XXX.nl
LinkedIn: https://www.linkedin.com/in/XXX-XXX/
GEINVENTARISEERDE INFORMATIE
Heb je een verkoopstrategie gericht op droomaccounts? Heb je heldere boodschappen voor je doelgroepen?: .
Zet je AI in voor verkoop en content?: .
Zijn er nog andere punten die je wilt bespreken?: .
OVERIGE INFORMATIE
25-11-2025 14:05:51 Test
Met vriendelijke groet,
XXX
I run the scenario with actual example data but for privacy reason’s I put XXX here.
What is the problem?
I use the following modules for now: search emails (once the automation works it would need to be get emails), HTML to text. These two work and gives me the body of the email in text.
Then I was trying to get multiple variables with the set multiple variables modules. As I am not a programmer or product owner, I have been using chatgpt and MakeAI to set the variable value. However, everything I’ve tried to fill in there with chat either generates the whole code with the whole email text, the whole email text, the wrong part/word of the email text or the output is empty.
What have you tried so far?
My latest code is as follows to get the Ctpid output which is a number: {{trim(get(split(get(split(1.text; """Ctpid:"""); 2); """Profieleigenaar:"""); 1))}}
However, the output is empty.
With this code I got the wrong part of the text up until Ctpid: which I added as a screenshot.
{{trim(substring(1.text; indexOf(1.text; "Ctpid:") + length("Ctpid:"); indexOf(1.text; newline; indexOf(1.text; "Ctpid:") + length("Ctpid:")) - (indexOf(1.text; "Ctpid:") + length("Ctpid:"))))}}
This was the was closest to what I needed as it is close to the number of the Ctpid.
The problem is also not it being a number instead of text as I also tried it for the other output values which are text.
I also tested it with the outlook Body content from the outlook module instead of text of the HTML to text module.
I also tried different versions within the code: “Ctpid” “Ctpid:” "Ctpid: " I also tried clicking on the make blocks instead of copying the code.
Can you help me find a working scenario? I think I might need a different module.









