Skip to content

Google Meet Automations

How to Start a Google Meet From a Button and End It Automatically After a Set Time

Office hours, support sessions and drop-in calls work best when they have a clear start and a clear end. Zapify can give a logged-in member a fresh Google Meet link when they click a button, then close the call automatically after the time you set, so a session never runs on by accident. It uses the A user clicks a button trigger, the Create a Google Meet meeting action, a Send an email action and the End a Google Meet meeting for everyone action with a delay. Google Meet, Buttons and delays are Zapify PRO features.

What this automation does

The automation is one trigger plus three actions:

  • Trigger: A user clicks a button (BUTTON_CLICKED, Buttons)
  • Action 1: Create a Google Meet meeting (GMEET_CREATE_SPACE, Google Meet)
  • Action 2: Send an email (WP_SEND_EMAIL, WordPress)
  • Action 3: End a Google Meet meeting for everyone (GMEET_END_MEETING, Google Meet), with a delay of 60 minutes

When a logged-in visitor clicks the button, Zapify creates a Meet room and emails the link to them. An hour later it ends the call for everyone who is still in it.

Before you start

  • A Google Meet connection. See Google Meet integration for WordPress for the one-time setup.
  • A page where you can place a shortcode, such as your members' area.
  • Only logged-in visitors can click a Zapify button. Logged-out visitors see Log in to do this. See Buttons for how keys and shortcodes work.

PRO feature

Google Meet, the A user clicks a button trigger and delays are Zapify PRO features. The email action is free.

Anyone in the call is removed when it ends

The End action closes the call for everyone. Tell people the session length up front, and choose a delay that leaves some room beyond the planned time.

How to build the automation

Step 1: Connect Google Meet

Skip this step if you already have a Google Meet connection.

  1. Go to Settings → Connections.

Open the Connections tab

  1. Choose Google Meet, paste in your Google Client ID and Client secret, click Connect and approve access.

Select Google Meet

Step 2: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Drop-in call with automatic end.

Create a new automation

Step 3: Add the "A user clicks a button" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Buttons as the app.

Select Buttons as the trigger

  1. Select A user clicks a button.
  2. Give the trigger a key, such as start-call. The key is what ties the button on your page to this automation.

Step 4: Add the "Create a Google Meet meeting" action

  1. Click Add Action.

Add an action

  1. Choose Google Meet as the app.

Select Google Meet as the action

  1. Select Create a Google Meet meeting.

Select Create a Google Meet meeting

  1. In Connection, pick your Google Meet connection. Leave the other fields on Google's default.
  1. Click Add Action again, choose WordPress and select Send an email.

Select WordPress as the action

Select Send an email

  1. Fill in the email.
Field Required What to enter
To Yes Insert the Their email address token. This is the person who clicked.
Subject Yes Your call link
Format Yes HTML or Plain text.
Body Yes Join your call here:, then the Meeting link token, then The call will close automatically after 60 minutes.

Step 6: Add the "End a Google Meet meeting for everyone" action

  1. Click Add Action again and choose Google Meet.
  2. Select End a Google Meet meeting for everyone.

Select End a Google Meet meeting for everyone

  1. Fill in the fields.
Field Required What to enter
Connection Yes The same Google Meet connection.
Meeting Yes Insert the Space ID token from the Create a Google Meet meeting step.

Step 7: Add the delay to the End action

  1. Open the menu on the End a Google Meet meeting for everyone action and choose Add a delay.
  2. Set it to 60 minutes, or whatever length you want.

The email goes out straight away because it has no delay. Only the End action waits. See Delays for how this works.

Step 8: Place the button on a page

Add this shortcode to any page or post:

[zapify_button key="start-call" label="Start my call"]

The key must match the key you typed in Step 3.

Step 9: Set the steps Live and save

Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.

  1. Set the trigger and every action to Live.
  2. Click Save.

Set the automation live

Step 10: Test it

Set the delay to 1 minute for the test. Log in, click the button, open the link in the email and join the call. About a minute later, the call should close. Then set the delay back to the real value. You can also open Zapify → Logs to see each step and when the delayed one ran.

How the timing works

The wait is a floor, not an exact moment. Delays run through a background queue that checks about once a minute, so a 60-minute delay means not before 60 minutes. On a quiet site it can be later, until another visitor loads a page. If timing matters, ask your host to set up a real server cron. Zapify → Settings → System status says whether this is worth doing on your site. See Delays for the details.

Tokens you can use

The A user clicks a button trigger exposes Who clicked, Their email address, Their username, Their display name and Page it was clicked from. After the Create a Google Meet meeting action runs it makes Meeting link, Meeting code and Space ID available to later actions, including the End action.

Conclusion

With the A user clicks a button trigger, a Create a Google Meet meeting action and a delayed End a Google Meet meeting for everyone action, a drop-in call starts on demand and closes on time. To make a button that does something else, see adding a role when a button is clicked.

FAQs

Is this free in Zapify?

No. Google Meet, the Buttons trigger and delays are Zapify PRO features, so this automation needs an active licence and a Connection. The email action is free.

What happens if nobody joins the call?

The End action still runs. When no call is in progress it reports success and says so. Nothing is wrong, and the link stays unused.

Can people rejoin after the call is ended?

Ending closes the call that is running now. It does not delete the link. Whether anyone can start another call with it depends on who has the link, so treat the link as open for as long as it exists.

Can a visitor who is not logged in use the button?

No. Only logged-in visitors can start a Zapify button. Logged-out visitors see Log in to do this.

Why did the call end later than the time I set?

Delays are a floor. They run about once a minute through WordPress's background queue, and on a quiet site later. See How the timing works above.

Will it end a meeting I started by hand?

Only meetings created by a Create a Google Meet meeting step on the same connection can be ended reliably. A meeting you started yourself in the Meet app can be refused by Google.

Do I need to write any code?

No. You paste one shortcode on a page, and everything else is configured in the Zapify visual builder.

Was this page helpful?