I want to trigger a zap on receiving an incoming email , for that particular email address i want to extract the the domain of the company and get the company information by calling an API(using URL and authentication ) and then reply back to the sender with the information retrieved by the API in mail body
I am new to zapier-need help in triggering a zap and sending an email back with the information retrieved
Hi
There are two parts to this:
You can trigger a zap on an incoming email to Gmail/Outlook/SMTP or even Zapier’s built-in email feature. You can then use “Split Text” formatting steps to extract the domain from the sender address (which will be included in the trigger data).
As for sending it to the API - that depends. What app/service is it? You may be able to use a “Webhook → POST” action step to do that bit.
Whenever I get an email let’s say from xyz@amazon.com I need to extract the domain of the company - say amazon.com and then with a url which has authentication I need to get the information about the email address by calling the API and send a reply back to the mail providing the company information that we retrieved from the API IN THE MAIL BODY.
Authentication as in with a user name and password
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.