Filter on time (Google Workspace Admin / Watch User)

Hi :slight_smile:

Hi opened a new because someone closed it before I answered.

I want to automate the sending of an email for each new account created in Google Workspace Admin.

I use the scenario mode.
To do this I have connected 2 apps Google Workspace Admin/Watch User and Gmail/Send an Email.

I’ve created a user test, and it’s detected. Then it’s in the filter that I get stuck, I can’t find what to put to indicate a “created less than 60 minutes ago” condition.

What filter should be applied to detect that the account has just been created? I’m having a bit of trouble finding it as I’m new to Make.
Perhaps a filter based on creation time, e.g. the script is run every 60min and checks whether an account has been created in the last 60min.

Then the second app will send an email via “primary email” from the detected account.

I enclose here the possibilities of playing in the filter.

Merci d’avance :slight_smile:

Please also provide a link to the old question, if you want to reference it.

If you’re using the “Watch User” module, and your scenario always runs every 60 minutes, then you don’t need to filter for “created less than 60 minutes ago”.

All the users created after the last scenario run will be returned. You just need to set the limit higher so ALL the users created in the last 60 minutes will be returned.

Screenshot_2024-01-25_210117

2 Likes

Thanks for your quick reply. Here’s the link to the old topic but I copied and pasted it so there’s no additional info.

Indeed the Watch User works without filter, great!

However, I haven’t managed to send an email to the newly created account.

Here’s how I configured the “Gmail - Send an email” app: did I make a mistake?

Thanks

Are there any errors? Are you sure the new email account has been set up yet? Did it go the spam folder because your content is too short or looks spammy?

Is the account you are sending from also within the same workspace, or your private Gmail?

2 Likes

Awesome it’s finally working !!

I created a brand new acoount on Google Admin Workspace and I received the email :slight_smile:

Can you explain the limit in the Watch User settings? What’s the difference between 1 and 10?

Thanks :slight_smile:

Basically it limits the amount of records that will be processed every “60” minutes.

If you set it to 10, and 11 users created, the 11th person will be processed the next time (one hour later) instead.

3 Likes

No problem, glad I could help!

1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

others can save time when catching up with the latest activity here, and

  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

3 Likes