# Slack

#### Connect Slack → GAN.AI (Trigger Videos From Slack Events)

While Slack is usually used as the notification destination, you can also trigger video creation from Slack using commands or channel activity.

**Step 1 — Create a Zap**

1. Go to Zapier.com
2. Click Create Zap

**Step 2 — Choose Slack as the Trigger**

1. Search Slack
2. Choose a trigger:

* New Message Posted to Channel
* New Mention
* New Reaction Added

3. Connect your Slack workspace
4. Pull sample data

**Step 3 — Add GAN.AI as the Action**

1. Search GAN.AI
2. Choose Generate Personalized Video
3. Select your video personalization project
4. Map Slack message fields to GAN.AI variables:

|   Slack Field   |   GAN.AI Variable   |
| :-------------: | :-----------------: |
|   Message text  |       {{text}}      |
|   Sender name   |       {{name}}      |
| Custom keywords | {{custom\_message}} |

**Step 4 — Turn On Zap**

* GAN.AI will now generate a personalized video whenever the Slack trigger is activated.

**Send GAN.AI Video Notifications Directly Into Slack (Recommended)**

This is the most common integration.

**What This Workflow Does**

Whenever GAN.AI generates a personalized video:

* Zapier sends a notification to Slack
* Includes video link, viewer name, and metadata

Perfect for:

* Sales teams (see when videos are ready)
* Marketing teams (track launches)
* Support teams (notifications for customer responses)

**Step 1 — Create a Zap**

* Go to Zapier → Click Create Zap

**Step 2 — Choose GAN.AI as the Trigger**

1. Search GAN.AI
2. Select Video Generated
3. Connect your GAN.AI account
4. Pull a sample generated video to load fields like:

* Viewer name
* Email
* Personalization fields
* Video URL

**Step 3 — Add Slack as the Action**

1. Search Slack
2. Choose one of the following actions:
3. Send Channel Message
4. Send Direct Message
5. Send Private Channel Message

**Step 4 — Map GAN.AI Video Data to Slack Message**

Example Slack message:

<figure><img src="/files/WkMr17YekoWQdyIKFo4o" alt=""><figcaption></figcaption></figure>

Map fields:

|    GAN.AI Output    | Slack Message Field |
| :-----------------: | :-----------------: |
|      Video URL      |     Message Body    |
|         Name        |     Message Body    |
|        Email        |     Message Body    |
| Personalized Fields |     Message Body    |

&#x20;**Step 5 — Turn On Zap**

* Your Slack workspace will now receive real-time notifications each time GAN.AI generates a personalized video.

GAN.AI can be integrated with Slack to either trigger personalized video creation from Slack activity or send video notifications directly into Slack channels. Using Zapier, you can set Slack events—like new messages, mentions, or reactions—as triggers to generate videos in GAN.AI, or configure GAN.AI as the trigger to automatically post generated video links, viewer names, and metadata into Slack. This integration keeps sales, marketing, and support teams informed in real time, streamlining workflows and enhancing team collaboration around personalized video campaigns.


---

# Agent Instructions: 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:

```
GET https://help.gan.ai/integrations-and-automation/available-integrations/slack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
