*Updated* How to parse an email and then use that output

Hey, I am just wondering how or if it’s possible within n8n.io to parse a specific email and put that data into notion, to send another email, put it in a excel sheet etc…
For example I get an email that has
“This is your verification code:
09992”
I want to then collect that code and update an excel cell or a notion table. I know zapier and others have it so when an email is sent to a specific email it parses that information that matches the template. Can n8n.io do something similar rather than parsing all the emails or do i need to create my own specific gmail account and connect that up.

Thanks

I have since got it to collect the code since it will always be 6 digits using the following code:
I am still trying to figure out how to update a notion page title or a notion block with that code. Only been able to add a new line and not update the existing block.

Hi @lyoung, welcome to the community :tada:

I am still trying to figure out how to update a notion page title or a notion block with that code. Only been able to add a new line and not update the existing block.

Updating a block or changing a generic page title aren’t operations supported by n8n’s Notion node I am afraid. If you are referring to pages within a database you could update the title field though using the Database Page → Update operation like so:

Before:

Node settings:

After:

For additional operations you could consider calling the Notion API directly. My post at Notion - change cover url of a database page - #3 by MutedJam has an example on how to call the API in general and their documentation on how to update a specific block would be here:

Hope this helps!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.