Automation: User Group Add

Automatically add users to a group with a little help from Zapier.


To automatically add a user to a group through Zapier, you'll need to send the webhook to Zapier and then use the Honeycommb app to route the user into the correct action! 

Please take the following steps to complete the 5-step Zap: 

1. Catch The Raw Web Hook from Honeycommb (example Webhooks to use here: user_created or user_approved)

2. Add a "Code by Zapier" action step and run Javascript that parses the data from your webhook. Follow Step 4 & 5 on the How-To page for more or watch the video below:



3. OPTIONAL: Run a "Filter by Zapier" Action that Only Continues If the user has answered a Custom Field question with an answer that you specify. This answer will be what you use to determine which group you add the user to - IF the user's answer to a custom field includes text or matches your desired answer, the Zapier will continue and add them to the group you specify.

ExampleAnswer

4. Honeycommb Zapier action: Find Group
Find the group on Honeycommb - required info:

Name: Input the exact name of the Group that you're going to add users to.
Slug: From your Control Center, grab the Slug from the Group Information in control center.
Context Note: "Slug" is part of the group URL, the Slug is listed on the Group's information page when viewing the group in Control Center.


5. Honeycommb Zapier action: Group Join Request
As the last and final step, now that we've found the group we can add the user to that group!

Add a Honeycommb zapier action step and choose the "Create Group Join Request" action.

The Group Join Request requires the following info:

  • Input the user ID, this will populate the user join that we want to place into the group
  • Add the Group ID that we want that user to go into; this will display the group ID found in step #4
  • Make the user status = Approved because we want this user to automatically head into the group 

 

If you'd like to add a user to multiple groups, simply repeat this step and select a different group from your community.