Skip to content

Allow people to join your GroupMe group by texting your Google Voice Number. Like it? Give it a star!

Notifications You must be signed in to change notification settings

Dev-in-the-BM/RouteMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

Rocket RouteMe: Automate GroupMe Invites via Google Voice

RouteMe is a Google Apps Script that automatically adds people to your GroupMe groups when they text a keyword to your Google Voice number.

The concept is simple: Someone texts "join" to your Google Voice number, and the script instantly adds them to your designated GroupMe chat.


Light Bulb Core Features

  • Keyword-Based Invites: Link keywords (e.g., news, updates) to specific GroupMe groups.
  • Web-Based Settings: A user-friendly website to manage your settings, keywords, and groups.
  • Anonymous Nicknames: Automatically assign sequential nicknames (e.g., "User1", "User2") to new members.
  • Detailed Logging: Every action is recorded in a Google Sheet for easy monitoring and troubleshooting.

Memo Before You Begin

Make sure you have the following:

  • A GroupMe Account.
  • A Google Account.
  • A Google Voice number associated with your Google Account.
  • Your GroupMe Access Token.
  • Email forwarding for Google Voice messages enabled. You can check this in your Google Voice settings under "Messages" and ensure "Forward messages to email" is turned on.

Gear Step-by-Step Setup Guide

Step 1: Make a Copy of the Google Apps Script Project

  1. Open the RouteMe Google Apps Script project by clicking this link.
  2. In the script editor, click Project Details (the 'i' icon) on the left.
  3. Click Make a copy to save the project to your Google Account.

Step 2: Deploy the Web App

Next, we need to "deploy" the script. This makes the settings website accessible via a private URL.

  1. At the top right, click Deploy and select New deployment.
  2. Click the gear icon next to "Select type" and choose Web app.
  3. Configure the web app settings:
    • Execute as: Me
    • Who has access: Only myself
  4. Click Deploy.
  5. Important: A "Web app URL" will be displayed. Copy and save this URL. This is the link to your private settings page.

Step 3: Configure the Script via the Web App

Now we'll use the web app you just deployed to complete the setup.

  1. Open the Web App URL you saved in the previous step.
  2. Run the Automated Setup:
    • You will see a "One-Time Setup" card. Click the Run Automated Setup button.
    • This will automatically:
      • Create a Google Sheet to log all activity.
      • Create a trigger to check for new text messages every 5 minutes.
    • A pop-up will ask for permissions. You must click "Review permissions" and "Allow" for the script to work.
  3. Enter Your GroupMe Access Token:
    • Once the setup is complete, the main settings will appear.
    • Paste your GroupMe Access Token into the "GroupMe Access Token" field and click Save Token.
  4. Add Your First Group:
    • Click Add New Group.
    • Keywords: Enter the keywords you want to trigger the invite, separated by commas (e.g., join, news, updates).
    • Group: Select the GroupMe group you want to link to these keywords.
    • Click Save Group.

Party Popper That's It!

Your bot is now live! When someone texts one of your keywords to your Google Voice number, they will be automatically added to the corresponding GroupMe group.


Warning Troubleshooting

  • "Authorization is required" error: If you see this, it means you need to grant permissions to the script. Follow the on-screen instructions to authorize it.

  • Changes not appearing: If you make changes to the code, you will need to create a new deployment to see the changes reflected in the web app. Go to Deploy > Manage deployments, select your deployment, and click the pencil icon to create a new version.

  • Check the logs: If you encounter any issues, the first place to look is the "Logs" sheet in your "GroupMe Bot Logs" Google Sheet. It will tell you what the script is doing and if there are any errors.

    HitCount

About

Allow people to join your GroupMe group by texting your Google Voice Number. Like it? Give it a star!

Topics

Resources

Stars

Watchers

Forks