Google Groups

The Google Groups modules enable you to create, update, list, retrieve, or delete groups and members in your Google Groups.

Getting Started with Google Groups

Prerequisites

  • An admin G Suite account

In order to use Google Groups with Integromat, it is necessary to have a G Suite account and be an administrator of the G Suite domain.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Google Groups to Integromat

To connect your Google Groups account to Integromat follow the general instructions for Connecting to services.

After you click the Continue button, Integromat will redirect you to the Google Groups website where you will be prompted to grant Integromat access to your account.

2020-06-11_11_23_26-Sign_in_-_Google_Accounts.png

Confirm the dialog by clicking the Allow button.

Group

List Groups

Retrieves groups in your domain.

ConnectionEstablish a connection to your Google Groups.
Your DomainEnter or select the G Suite domain you want to list groups from.
QueryEnter the search query. For more information and examples please refer to the Search for groups documentation.
Member Email or IDEnter user's or group's primary email address, or user's ID. You can retrieve the ID, for example, using the Get a Member module.
Sort OrderSelect whether you want to sort results in descending or ascending order.
LimitSet the maximum number of groups Integromat will return during one execution cycle.

Get a Group

Retrieves group details.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to retrieve details about.

Create a Group

Creates a new group.

ConnectionEstablish a connection to your Google Groups.
Your DomainEnter or select your G Suite domain you want to create a group for.
Group NameEnter the name of the group you want to create. E.g. Sales Group.
Group Email PrefixEnter the prefix of the group's email address. E.g. sales_group (for the sales_group@domain.com email address).
DescriptionEnter the description of the group. E.g. This is the Sales group.

Update a Group

Updates a group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to update.

Please find the descriptions of the fields in the Create a Group section above.

Delete a Group

Deletes a group.

When a group is deleted:

  • All members of the group are deleted. The member's user accounts are not deleted.
  • The group archive is deleted.
  • Messages sent to the deleted group's address are not delivered. Instead, the sender receives a bounce message.
ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to delete.

Member

List Members

Retrieves members of the selected group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to retrieve members for.
Roles

Select the role of the member you want to filter results by.

  • OWNER – This role can change send messages to the group, add or remove members, change member roles, change group's settings, and delete the group. An OWNER must be a member of the group.
  • MANAGER – This role is only available if the G Suite is enabled using the Admin console. A MANAGER role can do everything done by an OWNER role except make a member an OWNER or delete the group. A group can have multiple OWNER and MANAGER members.
  • MEMBER – This role can subscribe to a group, view discussion archives, and view the group's membership list. For more information about member roles, see the administration help center.
Include Derived MembershipEnable this option to list also indirect memberships.
LimitSet the maximum number of members Integromat will return during one execution cycle.

Get a Member

Retrieves member details.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group that contains the member you want to retrieve details about.
Member IDEnter (map) or select the member you want to retrieve details about.

Add a Member to a Group

Adds a member to a specified group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to add a member to.
Member's EmailEnter the email address of the member you want to add to the group.
Delivery Settings

Select mail delivery preferences of the member.

All Mail: All messages, delivered as soon as they arrive. 
Daily: No more than one message a day. 
Digest: Up to 25 messages bundled into a single message. 
Disabled: Remove subscription. 
None: No messages.

Roles

Select the role you want to assign to the member.

  • OWNER – This role can send messages to the group, add or remove members, change member roles, change group's settings, and delete the group. An OWNER must be a member of the group.
  • MANAGER – This role is only available if the G Suite is enabled using the Admin console. A MANAGER role can do everything done by an OWNER role except make a member an OWNER or delete the group. A group can have multiple OWNER and MANAGER members.
  • MEMBER – This role can subscribe to a group, view discussion archives, and view the group's membership list. For more information about member roles, see the administration help center.

Update a Member

Updates the membership of a user in the specified group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group that contains the member you want to update.
Member IDEnter (map) or select the member you want to update.
Member's EmailEnter the email address of the member you want to update.
Delivery Settings

Select mail delivery preferences of the member.

All Mail: All messages, delivered as soon as they arrive. 
Daily: No more than one message a day. 
Digest: Up to 25 messages bundled into a single message. 
Disabled: Remove subscription. 
None: No messages.

Roles

Select the role you want to assign to the member.

  • OWNER – This role can change send messages to the group, add or remove members, change member roles, change group's settings, and delete the group. An OWNER must be a member of the group.
  • MANAGER – This role is only available if the G Suite is enabled using the Admin console. A MANAGER role can do everything done by an OWNER role except make a member an OWNER or delete the group. A group can have multiple OWNER and MANAGER members.
  • MEMBER – This role can subscribe to a group, view discussion archives, and view the group's membership list. For more information about member roles, see the administration help center.

Remove a Member from a Group

Removes a specified member from the group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group that contains the member you want to remove.
Member IDEnter (map) or select the member you want to remove from the group.

Group Settings

Get a Group's Settings

Retrieves settings of the specified group.

ConnectionEstablish a connection to your Google Groups.
Group EmailEnter (map) or select the group email of the group you want to retrieve settings for.

Update a Group's Settings

Updates group's properties.

(Reference: https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups)

ConnectionEstablish a connection to your Google Groups.
Group EmailEnter (map) or select the group email of the group you want to retrieve settings for.
DescriptionAn extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups. Maximum length is 4,096 characters
Allow External MembersSelect whether members external to your organization can join the group.
Allow Web PostingSelect whether members are allowed to post from web.
Archive the GroupSelect the Yes option to set the group as archived and inactive.
New messages to this group are rejected. The older archived messages are browseable and searchable.
Message Moderation LevelSelect the moderation level of incoming messages. Possible values are:
  • MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group.
  • MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group.
  • MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group.
  • MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group.
Who Can DiscoverSelect the set of users for whom this group is discoverable.
Who Can JoinSpecify who can join the group.
Who Can Moderate ContentSpecify who can moderate content.
Who Can Moderate MembersSelect who can manage members.
Who Can Post Messages

Select one of the options for posting messages.

  • NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
    • When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
    • If archiveOnly is reverted from yes to nowhoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
  • ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
  • ALL_MEMBERS_CAN_POST: Any group member can post a message.
  • ALL_OWNERS_CAN_POST: Only group owners can post a message.
  • ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
  • ANYONE_CAN_POST: Any Internet user who is outside your account can access your Google Groups service and post a message.
Who Can View Group

Select permissions for viewing the group.

Permissions to view group messages. Possible values are:
  • ANYONE_CAN_VIEW: Any Internet user can view the group's messages.
  • ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages.
  • ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages.
  • ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages.
  • ALL_OWNERS_CAN_VIEW: Any group owner can view this group's messages.

Alias

Add an Alias to a Group

Adds an email alias to a group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to add the alias to.
Your DomainEnter or select your G Suite domain that contains the domain you want to add the alias to.
Alias NameEnter the alias name. E.g. <your_alias_name>@domain.com

List Aliases

Retrieves all aliases for the group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to retrieve aliases for.
LimitSet the maximum number of aliases Integromat will return during one execution cycle.

Delete an Alias

Removes an alias from the specified group.

ConnectionEstablish a connection to your Google Groups.
Group IDEnter (map) or select the group you want to remove an alias from.
AliasEnter (map) or select the alias you want to remove from the group specified above.

Make an API Call

Allows you to perform a custom API call.

ConnectionEstablish a connection to your Google Groups.
Select

Choose:

URL

Enter a path relative to:

  • https://www.googleapis.com/admin/directoryfor the Google Groups option, e.g. /v1/groups 
  • https://www.googleapis.com/groupsfor the Google Group's Settings option, e.g. /v1/groups/{group_email}
For the list of available endpoints, refer to:
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Members

The following API call returns all members in the specified group:

Select:
Google Groups

URL:
/v1/groups/{{the ID of the group you want to retrieve members from}}/members/

Method:
GET

2020-06-16_13_33_26-Integration_Google_Drive___Integromat.png

The result can be found in the module's Output under BundleBody > members
In our example, 1 member was returned:

2020-06-16_13_46_26-Integration_Google_Drive___Integromat.png

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.