# Integrate BotPenguin with Outlook

The **Outlook Integration** allows you to connect your BotPenguin chatbot with Microsoft Outlook to automate email communication. By syncing chatbot interactions with Outlook, you can generate, schedule, and send emails automatically—improving response times and communication efficiency.

***

#### Benefits of Outlook Integration

* 📧 Automatically send emails triggered by chatbot interactions
* ⚡ Faster follow-ups without manual effort
* 🔄 Secure integration using Microsoft OAuth credentials
* 🧠 Improved customer communication and engagement
* ⏱️ Save time by automating routine email responses

***

#### Accessing the Outlook Integration

1. Log in to your **BotPenguin Dashboard**
2. Select your **Bot**
3. Navigate to **Integrations**
4. Click on **Third-party Apps Integration**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FPmjIArZv7IQQnVK0bNhJ%2Fimage.png?alt=media&#x26;token=e50b88e0-6129-4abe-8ca1-efc4ef666ca4" alt=""><figcaption></figcaption></figure>

5. Select **Outlook** from the list

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FEO3ZPWdoYvU0TXa3pkdy%2Fimage.png?alt=media&#x26;token=09faf5c9-8d7c-430b-8d9f-b11365c31cc6" alt=""><figcaption></figcaption></figure>

6. Click on the Connect button.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FpenwoxXZYT7848ISVYWp%2Fimage.png?alt=media&#x26;token=88c4c871-d37b-446a-9ba0-e13a99e48ee8" alt=""><figcaption></figcaption></figure>

***

#### How to Connect Outlook with BotPenguin

To connect Outlook, you need to enter your **Client ID** and **Client Secret** generated from Microsoft Azure.

**Step 1: Create an App in Azure**

1. Go to the **Microsoft Azure Portal**
2. Sign in with your Microsoft account
3. Navigate to **Azure Active Directory**
4. Click **App registrations**
5. Select **New registration**
6. Enter an app name (e.g., *BotPenguin Outlook Integration*)
7. Choose the supported account type
8. Click **Register**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F3Dq5aRYG3e9aluO0OePw%2Fimage.png?alt=media&#x26;token=174fc75a-c701-408d-86d4-4d5c77a3ad22" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FJKMdF0iDwKNrXbtxJd4A%2Fimage.png?alt=media&#x26;token=2487b892-d9cd-41d3-9b00-93460c31aeed" alt=""><figcaption></figcaption></figure>

***

**Step 2: Get Client ID**

* After registration, copy the **Application (Client) ID**
* Paste this value into the **Client ID** field in BotPenguin

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F62uIlaSndR6TG27TeYJx%2Fimage.png?alt=media&#x26;token=2db99562-49d6-47f6-b480-0eeabc5cb6c7" alt=""><figcaption></figcaption></figure>

***

**Step 3: Generate Client Secret**

1. In the same app, go to **Certificates & secrets**
2. Click **New client secret**
3. Add a description and select an expiry duration
4. Click **Add**
5. Copy the generated **Client Secret**

⚠️ **Important:** The Client Secret is displayed only once. Save it securely.

***

**Step 4: Enter Credentials in BotPenguin**

1. Paste the **Client ID**
2. Paste the **Client Secret**
3. Click **Connect**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F3CGQtuYzfwEQxQiRdPrB%2Fimage.png?alt=media&#x26;token=b395ff5b-bc1c-4540-8917-f8f3ef899413" alt=""><figcaption></figcaption></figure>

Once connected, Outlook email automation will be enabled for your chatbot.

***

#### Required Permissions

Ensure the following permissions are enabled for the Azure app:

* Mail.Send
* User.Read

Admin consent may be required depending on your organization’s settings.

***

#### Use Cases

* **Automated Follow-ups**\
  Trigger Outlook emails automatically based on chatbot conversations
* **Lead Communication**\
  Send personalized emails to leads captured by the chatbot
* **Internal Notifications**\
  Notify teams when specific chatbot events occur

***

#### Troubleshooting

**Invalid Client ID or Client Secret**

* Ensure values are copied correctly
* Check that the client secret has not expired

**Permission Issues**

* Verify required permissions are granted
* Reauthorize the app after permission changes

**Connection Failed**

* Check Azure app status
* Regenerate Client Secret if required

### FAQs:

<details>

<summary>Is Outlook integration secure?</summary>

Yes, the integration uses Microsoft’s OAuth-based authentication.

</details>

<details>

<summary>Can I disconnect Outlook later?</summary>

Yes, you can disconnect the integration at any time from the Integrations section.

</details>

<details>

<summary>Does this support scheduled emails?</summary>

Yes, emails can be generated and scheduled using chatbot workflows.

</details>

<details>

<summary>Is Outlook integration available on all plans?</summary>

Availability depends on your BotPenguin subscription plan.

</details>

If everything is correct and you are still unable to move forward, write to us at <support@botpenguin.com>. We will respond back within 48 business hours.
