Skip to main content
All CollectionsBuilding your botMessage parts
Posting to groups on Workplace
Posting to groups on Workplace

How to create a post on Workplace by triggering a message through the bot

Melita Gandham avatar
Written by Melita Gandham
Updated over a week ago

Please note: If your group doesn't appear, make sure you have the correct permissions on your integration. You need to have "Read group membership" and "Manage group content" ticked. Also, make sure you have pressed "Refresh groups" on the platform.

The group post message part allows you to trigger a message to be posted from a bot to a Workplace group.

For example, if you collect employee questionnaire via a bot, you may want to post their responses into a workplace group made specifically for HR.

How it works

Ensure you have these permissions for your integration, for this, you need "manage group content".

1) Add a group post message part

When editing a message, choose ‘group post’ from the message parts.

2) Type your message

This message will contain two things:

• a message to be sent to the bot user using a text box

• a group post message part that will trigger to post to group functionality.

First, edit the message to your bot user - this can be a straightforward message that wraps up the bot flow.

Then type the message you’d like to be sent to a Workplace group. I am building a recognition bot so have am writing up a congratulations post will will be sent to a recognition board on Workplace:

In the example above, we have added attributes e.g. {{first_name}}. This means when the message is posted to the Workplace group it will include the bot user's first name. Learn more about attributes here.

You can also tag users in a group post. You can find out more about how to do that here.

3) Choose the Workplace group

Next choose the Workplace group you would like the message to be sent to. Select ‘choose workplace group’ to show the settings screen. Select the group from the dropdown and select save.

4) Add an image (optional)

You can also add an image to your group post. Simply click on the little camera icon in the message part, and upload an image:

5) Save your message and your flow

Go through your bot flow to test. Once you've triggered the group post message in your bot, a notification from your nominated group will come through:

Did this answer your question?