Hi I want to create an ZAp that allows me to use a new e-mail message to create a brand new file in OneDrive. Currently we run an outreach service and we get applications coming into our service we want to streamline the process. A Gmail account receives emails when a form is submitted, we need to take the information from this form to create a file on OneDrive. The information we want to use is the name of the person I want to use that name to create a file in OneDrive. (Would then also like to start saving into that file but I guess that's another Zap) this is the first time I'm trying to create a zap, I'm really struggling getting my head round using funnels and Filters to achieve this, doesn't seem simple and I think I need an explanation. Ideally I wish someone could show me how to do it in person, I can learn once I've seen the process, There doesn't seem to be that type of support can anyone help?
Creating a new file in OneDrive form a form received in Gmail
Hi there
Welcome to the Community! 🎉
Here is how I see the Zap for the workflow that you have in mind:
- Trigger: Gmail - New Email Matching Search - This will trigger on a new email that matches a search string you provided.
- Action: OneDrive - Upload File - You can then map the sender’s email address or name from the trigger to the “File Name” field, and map the attachment file from the email to the “File” field.
Hopefully, this helps! 😊
Hi
that’s great do I need to use a passer to do this?
it doesn’t seem to be giving me the name as a option?
thanks
olly
Hi
Is the form going to be sent in the same format every time? If so, you’re probably going to need to add a Text in Formatter by Zapier - Extract Pattern step.
To help you set this up, could you share an example of the email's structure? Just a heads up, please use a fictitious or test name to keep everything confidential.
Thanks! 😊
Thanks this is a copy of the email I'm trying to extract the name from, so that any future emails from this sender will go to create a new file in one drive.
Many thanks
Olly
Hi
Thanks for the screenshots!
You can use this Regex pattern in the field: (?<=Name:\n\n)(.*?)(?=\n\nDate of Birth:)
and map the “Body Plain” data from Gmail to the “Input” field. Like so:
If that doesn’t work, you can try using Email Parser by Zapier or Mailparser. Here are some help articles to help you get started:
- Mailparser: https://help.mailparser.io/hc/en-us/articles/16253533062420-Send-Your-Parsed-Data-to-other-apps-via-Zapier
- Email Parser by Zapier: https://zapier.com/blog/email-parser-guide/
Hopefully, this helps! 😊
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.