> For the complete documentation index, see [llms.txt](https://docs.gpt4business.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpt4business.ai/getting-started/integrations/zapier-app.md).

# Zapier App

The GPT4Business Zapier is a publicly available Zapier app. All you have to do is search for "GPT4Business.ai" in any action step and follow the instructions to integrate.

[![Logo](file:////Users/bodnarzs/Library/Group%20Containers/UBF8T346G9.Office/TemporaryItems/msohtmlclip/clip_image002.png)](https://zapier.com/apps/stammerai/integrations)

GPT4Business.ai Integrations | Connect Your Apps with ZapierZapier

![](file:////Users/bodnarzs/Library/Group%20Containers/UBF8T346G9.Office/TemporaryItems/msohtmlclip/clip_image003.jpg)

### Creating a White-Labeled Zapier Integration for GPT4Business.ai

This feature allows businesses to integrate their white-labeled GPT4Business.ai platform into Zapier workflows seamlessly. By using the white-label API, businesses can hide any external branding and promote their own version of the platform. Below is a step-by-step guide to setting up a Zapier automation where Slack messages are processed by an AI agent, and the AI’s responses are sent back into Slack.

**Step-by-Step Guide: White-Labeled Zapier Integration**

1. Obtain the API Details

* Access the GPT4Business.ai white-label API documentation.
* Copy the AI Agent API endpoint URL and your API token.

2. Set Up the Trigger in Zapier

* Connect the input application (e.g., Slack) where messages will be sent.
* Send a test message to ensure Zapier receives the data correctly.

3. Create a Webhook Action in Zapier

* Add an Action Step in Zapier and select Webhooks by Zapier.
* Choose POST as the action type and click Continue.

4. Configure the Webhook Settings

* Set the Payload Type to JSON.
* Paste the AI Agent API Endpoint URL into the URL field.

5. Set Up the Data Fields

* Add the following data fields to the webhook configuration:
  * query: Select the message input from Slack (or another trigger source).
  * user\_key: Map it to the user ID or a unique identifier from Slack.
  * chatbot\_uuid: Retrieve this value from the AI Agent settings within your GPT4Business.ai white-label platform and paste it in.

6. Add Authorization Headers

* Under Headers, add the following:
  * Key: Authorization
  * Value: Token YOUR\_API\_TOKEN
    * Replace YOUR\_API\_TOKEN with the API key from the white-label API documentation.

7. Test the Webhook

* Click Test Step to confirm that the AI Agent generates a response successfully.
* Verify that the AI Agent answers the query sent through Slack (or the input app).

8. Send the AI Response Back to Slack

* Add another Action Step in Zapier to send the response back to Slack (e.g., Send Private Message or Post Message to Channel).
* Use the AI Agent’s response as the message content (e.g., map the response to data.answer).

9. Save and Activate the Zap

* Finalize the setup by testing the entire workflow.
* Activate the Zap to enable the automation.

### Example Workflow

1. A user sends a message in Slack.
2. The message is sent to the GPT4Business.ai AI Agent through the white-label API.
3. The AI Agent processes the message and generates a response.
4. &#x20;The response is sent back to Slack as a message, visible to the user.

### Key Benefits of the White-Labeled Zapier Integration

* White-Label Branding: The integration hides external GPT4Business.ai branding, maintaining a fully customized and professional experience for your clients.
* Seamless Automation: Easily integrate AI-powered workflows into tools like Slack, email, or CRMs using Zapier.
* Customizable Responses: Use AI Agent responses in various Zapier steps to automate processes like notifications, reports, or follow-ups.

### Conclusion

By leveraging the white-label API with Zapier, businesses can automate AI-powered interactions while promoting their own branded version of the platform. The integration ensures a professional, seamless, and customizable workflow for tools like Slack and other third-party applications.&#x20;

For additional support or troubleshooting, refer to the white-label API documentation or reach out to the GPT4Business.ai team.
