Let us look at how you can integrate Gmail with Discord and automatically share your emails with team members on Discord using Email Parser
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first link Gmail with Pabbly Connect using Email Parser to capture the emails, then link Pabbly Connect with Discord and share the captured emails on Discord.
Steps to Automatically Send Discord Messages from Gmail Using Email Parser
1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Setup Email Parser by Pabbly as the Trigger App to Capture Emails
3. Add a Filter to the Workflow
4. Setup Discord as the Action App to Send Channel Messages
Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow
A. Sign In / Sign Up
To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.
Click on the Pabbly Connect ‘Access Now’ button
B. Create Workflow
To create a new workflow, click the ‘Create Workflow’ button.
Name your workflow, and click on ‘Create’.
Step 2:- Setup Email Parser by Pabbly as the Trigger App to Capture Emails
We will now look at the steps through which we will establish a link between Gmail and Pabbly Connect. This will help us to fetch the emails.
A. Trigger App
Trigger allows us to choose the application that will receive the data for Pabbly Connect. In our case, it would be Email Parser by Pabbly.
Choose ‘Email Parser by Pabbly’ as the Trigger App and copy the Email – this Email Address will be used to fetch the emails from your Gmail account.
B. Connect Gmail Account
Login to your Gmail account, and click on ‘Settings’ > ‘See all settings’.
Select ‘Forwarding and POP/IMAP’ and click on ‘Add a forwarding address’.
Paste the Email Address we copied earlier, and click on ‘Next’.
A dialogue box will pop up asking you for confirmation. ‘Proceed’ with forwarding to the given email address.
You will be asked to enter a confirmation code, which you will find under Response Received on Pabbly Connect.
Expand Response Received, copy the Confirmation Code, paste it into its given field, and click on ‘Verify’.
Enable Forwarding, click on ‘Save Changes’ and your connection will be established.
C. Test Connection
To test the established connection, click on ‘Re-Capture Email Parser Response’ and send a test email to your account using a different ID.
Switch to Pabbly Connect, and expand Response Received – under which the latest email details must be visible, thus confirming our connection.
Step 3:- Add a Filter to the Workflow
Since we want to forward only the relevant emails to Discord and filter out all other irrelevant ones – we will add a filter to our Workflow.
Choose ‘Filter by Pabbly’ as the Action App, select ‘Subject’ as your Label, select ‘Equal to’ as the Filter Type, and enter a keyword from the subject as Value. At last, click on ‘Save & Send Test Request’ – This will ensure that the next step in our workflow will only be executed if the subject of your email contains that specific keyword, thus forwarding only the relevant emails.
Step 4:- Setup Discord as the Action App to Send Channel Messages
Action allows us to choose the application that will get executed by the workflow trigger.
We essentially want to share the captured emails on a Discord channel. Therefore, Discord will be our Action App.
Add another Action Step to your workflow by clicking the + button.
A. Action App
Choose ‘Discord’ as the Action App, select ‘Send Channel Message (Markdown)’ as an Action Event, and click on ‘Connect’.
B. Connect Discord Account
To connect with your Discord account, you need a Webhook URL. Follow these steps to generate the Webhook URL, copy the Webhook URL and paste it into its given field – This will establish a connection between Discord and Pabby Connect.
C. Map the Message
Now that you have connected your Discord account, all you need is to map the message to be posted from the step above. Mapping ensures our data remains dynamic and changes as per the received responses.
Map the Message to be posted from the step above.
Similarly, map the other fields, leaving the unnecessary ones empty, and click on ‘Save & Send Test Request’.
The moment you click on Save & Send Test Request, email details will be shared on your Discord channel.
Our automation is complete. We have successfully integrated Gmail with Discord. Each time you receive a new email, it will now automatically be shared on your Discord channel.
You can copy this entire workflow by clicking this link.
Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum