Skip to main content
Answer

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

  • January 30, 2023
  • 3 replies
  • 43 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.

Best answer by Troy Tessalone

@Tango 

Then try these Zap steps:

  1. Trigger: Gmail - New Attachment
  2. Action: GDrive - Find/Create Folder
  3. Action: GDrive - Upload File
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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • January 30, 2023

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:

 

 


  • Author
  • New
  • January 30, 2023

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


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • January 30, 2023

@Tango 

Then try these Zap steps:

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