> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/~/changes/zWOY8fNiBBrqneKkuGvA/channels/workplace-from-facebook.md).

# Workplace from Facebook

More and more companies are using Facebook Workplace to connect all members of their organisation. Your bot can be activated on Workplace too in just a few steps.

{% hint style="info" %}
Configuring your bot for Workplace is only possible in our [production environment](https://cms.chatlayer.ai).
{% endhint %}

Here's how to configure your bot for Workplace:

* Open your bot
* Go to the Channels tab
* Click "+" next to the Workplace line in the Channels table
* Click "Connect Facebook Workplace"
* Log into Workplace
* Add Chatlayer to Workplace, configure the name and permissions as you desire

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VP6XdY4oWCoNJPStK%2Fimage.png?alt=media\&token=907772fb-fb3f-48bd-84d3-ab0a94001adb)

{% hint style="warning" %}
It's only possible to install the Chatlayer.ai Workplace integration if you're a Workplace Admin.
{% endhint %}

* After a couple of seconds, Facebook Workplace will be successfully set up for your bot

### Talking to your Workplace bot

Your users can find the bot under Home > See more > Integrations > {bot's name}

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VPYasi9y8oCPHS6ay%2Fimage.png?alt=media\&token=fb35e2dc-03fa-42b3-84fd-79327970ccec)

Clicking the "Message" button will allow the user to start a conversation

### Using email addresses

The Chatlayer.ai Workplace app has access to a Workplace user's email address. When you've connected your bot to the Workplace channel, you can use the variable {email} in your flows, which will be filled with the user's e-mail address. Read more about using variables on our platform [here](/~/changes/zWOY8fNiBBrqneKkuGvA/tutorials/tutorial-your-first-bot/tutorial-conditional-flow-navigation.md).

### Uninstalling

If you want to disconnect your bot from Workplace, go to the Admin Panel, click on your bot integration, and click on Uninstall.

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VQ6uhX2Yu16eZxDd2%2Fimage.png?alt=media\&token=feb979a8-a1ee-411c-8376-df17385911a5)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chatlayer.ai/~/changes/zWOY8fNiBBrqneKkuGvA/channels/workplace-from-facebook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
