Best answer

How to create a folder with name taken from email body?

  • 30 January 2023
  • 3 replies
  • 29 views

Hi,
So I need to create zap like:
- reading email body and take some value from it (gmail)
- create (if doesn’t exist) folder in google drive with name taken from email body value
- copy attachment from email to this folder.

icon

Best answer by Troy Tessalone 30 January 2023, 16:58

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @Tango 

Good question.

What you’ve described is email parsing.

You can try using these apps:

  1. Email Parser by Zapier
  2. Mailparser
    1. I’d recommend as this is more robust

 

For GDrive, you can use this Zap step:

 

 

Let’s assume that email body contains only one word - the name of the folder.

Userlevel 7
Badge +14

@Tango 

Then try these Zap steps:

  1. Trigger: Gmail - New Attachment
  2. Action: GDrive - Find/Create Folder
  3. Action: GDrive - Upload File