Hi there, I’m setting up an automation (from Andy O’neil’s template) to use ChatGPT to automatically label my Gmail emails → and then archive any emails with the label “Out of Office”.
All of it is working except for the final step.
To archive the email, I used the “Gmail - Move an Email” module. And set it up to move the email to the “Out of Office” folder.
However, when it executes, the email is still in my Gmail inbox
I was wondering if it’s because the email has two labels on it (“Out of Office” and “@domain”). Could that be blocking it from moving it out of the Gmail inbox?
Is there any way around this? Is there a simpler way to just “archive” emails in Gmail?
You should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.
You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.
You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules
I’ve encountered the same issue and recently found a solution that worked for me. The problem seems to stem from how Gmail treats its labels and folders. Here’s what I discovered:
Understand Gmail’s Label System: Gmail doesn’t treat the “Inbox” as a regular label; instead, it has a hidden system label called //INBOX. So, when you’re using the “Gmail - Modify Email Labels” module, you need to specify INBOX manually to correctly map and move the email.
Steps to Archive Emails:
Enable “Modify Email Labels”: This setting must be enabled in your automation setup.
Map the “Gmail Message ID”: Ensure that you map the correct “Gmail Message ID” for the email you want to archive.
Type “INBOX” Manually: Under the “Labels to Remove” section, manually enter INBOX to specify where the email should be moved. This overrides the default assumption and properly archives the email.
Here’s an example screenshot showing how it should look: