# Workflow Action - AI Translate

> This article will guide you through using the AI Translate action in your workflows. You'll learn how to automatically translate text from a source…

- Source: https://docs.ghlcustomercare.com/docs/workflows/workflow-ai-workflow-actions/workflow-action-ai-translate
- Section: Workflows / Workflow AI Workflow Actions
- Reading time: 2 min
- Images: 4, each explained below

---
This article will guide you through using the **AI** **Translate** action in your workflows. You'll learn how to automatically translate text from a source language to a target language, making it easier to personalize communication for a global audience.

# **What is the "AI Translate" Workflow Action?**

"AI Translate" action is a powerful action within the workflow builder that allows you to translate any given text from one language to another. By integrating this action, you can automate multilingual communications. For instance, you can take an incoming message in one language, translate it, and then use that translated text in a subsequent action, like an email, SMS, or internal notification. This ensures contacts receive messages in their preferred language, enhancing customer experience. 

# **How to Set Up the "AI Translate" Workflow Action**

Follow these steps to configure the action in your workflow.

### **Step 1: Add the "Translate Content" Action**

### Navigate to your workflow builder and search for "Translate" in the actions menu. Add it to your workflow at the point where you want to translate content.

![Navigate to your workflow builder and search for "Translate" in the actions menu. Add it to your workflow at the point where you want to translate content…](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155062015020/original/KmpLXhkz5eH8PztJiu0bsB8Bs_7rPB0Ajw.png)

**Navigate to your workflow builder and search for "Translate" in the actions menu. Add it to your workflow at the point where you want to translate content. (image 1 of 4)**

This screenshot appears in the "Navigate to your workflow builder and search for "Translate" in the actions menu. Add it to your workflow at the point where you want to translate content." section of "Workflow Action - AI Translate". The text alongside this image reads: Follow these steps to configure the action in your workflow. Immediately after, the guide continues: Input the source language of the text you want to translate. This is the language your original text is written in. (e.g., "English").
- What this covers: Follow these steps to configure the action in your workflow.
- Next: Input the source language of the text you want to translate. This is the language your original text is written in. (e.g., "English")

### **Step 2: Configure Settings**

#### **1\. Action name:** Give your action a descriptive name (e.g., "Translate Welcome Email to Spanish")

#### **2\. Select the 'From' Language:**

Input the source language of the text you want to translate. This is the language your original text is written in. (e.g., "English")

#### **3\. Select the 'To' Language:**

Input the target language. This is the language you want the text to be converted into. (e.g., "French")

#### **4\. Input Text**

In the **Input Text** field, enter the content you want to translate. You have two options:

-   **Static Value:** Type the text directly into the field.
    
-   **Custom Variables:** Use the tag icon to insert dynamic data from a contact's profile or a previous workflow step. 
    

Once configured, click **Save Action** to add it to your workflow.

![4. Input Text (image 2 of 4)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155062015130/original/RaD9z8SEp23oVch6H6LRPGgy8AD0rsMBCQ.png)

**4. Input Text (image 2 of 4)**

This screenshot appears in the "4. Input Text" section of "Workflow Action - AI Translate". The text alongside this image reads: Once configured, click Save Action to add it to your workflow. Immediately after, the guide continues: After configuration, the translated text is available as a custom variable.
- How to confirm: Once configured, click Save Action to add it to your workflow.
- Controls: Input Text, Save Action
- Next: After configuration, the translated text is available as a custom variable:

Full procedure:

1. Static Value: Type the text directly into the field.
2. Custom Variables: Use the tag icon to insert dynamic data from a contact's profile or a previous workflow step.

### **Using the output**

**After configuration, the translated text is available as a custom variable:**

![Using the output (image 3 of 4)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155062015167/original/99LztYMfx8IP5rMETb2lQg8meYnR2t4lkQ.png)

**Using the output (image 3 of 4)**

This screenshot appears in the "Using the output" section of "Workflow Action - AI Translate". The text alongside this image reads: After configuration, the translated text is available as a custom variable. Immediately after, the guide continues: Imagine a new contact signs up through a form and specifies "French" as their preferred language. The workflow can use this information to send them a welcome email in their chosen language.
- What this covers: After configuration, the translated text is available as a custom variable:
- Next: Imagine a new contact signs up through a form and specifies "French" as their preferred language. The workflow can use this information to send them a welcome email in their chosen language.

![Using the output (image 4 of 4)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155062015220/original/Y4tyVqHsuUyoRzHTs5YN1JaMY3G-JI9XAQ.png)

**Using the output (image 4 of 4)**

This screenshot appears in the "Using the output" section of "Workflow Action - AI Translate". The text alongside this image reads: After configuration, the translated text is available as a custom variable. Immediately after, the guide continues: Imagine a new contact signs up through a form and specifies "French" as their preferred language. The workflow can use this information to send them a welcome email in their chosen language.
- What this covers: After configuration, the translated text is available as a custom variable:
- Next: Imagine a new contact signs up through a form and specifies "French" as their preferred language. The workflow can use this information to send them a welcome email in their chosen language.

# **Example Use Case**

### **Example: Translating a Welcome Message**

Imagine a new contact signs up through a form and specifies "French" as their preferred language. The workflow can use this information to send them a welcome email in their chosen language.

-   **Trigger**: **Contact Created**
    
-   **Action**: **Translate Content**
    
    -   **Action Name**: Translate Welcome to French 
        
    -   **From Language**: English
        
    -   **To Language**: French
        
    -   **Input Text**: `Hello, thank you for signing up!`
        
-   **Action**: **Send Email**
    
    -   **Email Body**: Insert the output from the translation action: 
        
        {{workflow\_ai\_translate\_content.2.response}}
        

This workflow ensures the new French-speaking contact automatically receives a personalized and correctly translated welcome message.

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com