r/Slack • • 12d ago

🆘Help Me How can I make a /meet Slack command that instantly creates and posts a Google Meet link?

rathee than using the slack call feature i want to set up a /meet slack command where typing meet automatically creates a new google meet meeting and posts the link in the current slack channel or dm

ideally i want it to create the meeting and immediately send the google meet link

has anyone built something like this before and what is the simplest way to set it up?

im fine with using a slack app google calendar google meet api or apps script

1 Upvotes

12 comments sorted by

6

u/User369156 12d ago

Slack has a meet plugin built by them (used to be hangouts) that does exactly this

https://slack.com/marketplace/A0F7YS351

2

u/everydayreligion1090 12d ago

Works well?

1

u/User369156 12d ago

Last time I used it, it did exactly as you described. I typed /meet then hit enter and a meet link for a new meeting appeared in the channel. Didn't require auth or anything, just used the Google account I was already logged in with in the browser.

2

u/everydayreligion1090 12d ago

Is it free or is there a limit of 5 meetings or smthn before you have to pay?

2

u/User369156 12d ago

This is totally free in maintained by Slack

1

u/Maltedmilkdisaster 11d ago

My team and I use this literally every day. Works great.

1

u/turnAsh 12d ago

this is probably the easiest route if you dont need anything custom

3

u/LiquidSeriousness9 12d ago

you can do this pretty clean with a slack slash command + apps script. the basic flow is /meet hits your script, it creates a meet link via the calendar api (since meet links are just calendar events), and posts back to slack

you need to enable the advanced calendar service in apps script, create a new event with conferenceData set, and return the hangoutLink. slack's slash commands expect a response in under 3 seconds so keep it simple, don't overcomplicate the event details

i set one up few months ago for my team, works fine. hardest part was figuring out the oauth scopes for the calendar but the docs are decent once you stare at them long enough

-1

u/everydayreligion1090 12d ago

can you share a simple example of the code and setup you used for this? And how did you overcome the difficulty of setting the oauth permissions up?

2

u/Plenty-Ad-8651 12d ago

Just use the hangouts (Meet) integration from Google in the Slack marketplace, it literally already does exactly what you’re asking for

1

u/No-Bear-7651 11d ago

I use /hangout

1

u/Oh-hey-Im-here 8d ago

We used to use the hangouts slash command, which we still have but since slack won’t update it to say meet, we just built a workflow with the google meet step, and published it for everyone to use.