---
version: "2026.1.0"
language: "en"
---
# AI Transform

The **Artificial Intelligence Transform** block specializes in data transformation according to user-provided instructions, enabling complex and varied data manipulation within automated testing workflows. Typical transformations include format changes, data cleansing, conversions, and text translation.

This ensures that test data meets the criteria required for effective validation of automation scenarios.  
![image-20260207-124052.png](https://docs.leapwork.com/__attachments/a_a8a9e0ca5be9a497c924b166c78ea0fc4b2424a242ede904dce3f2d7826cda95/image-20260207-124052.png?cb=2ce1c0abcbbc184b9a0ab1a0122028f7)

**Notes:**

* The screenshot on this page uses the **Elegance Design** , introduced in **2025.3**. If you are using an earlier version, your layout may look different.

* To use this block, **cloud blocks must be activated for your tenant in the** [++**add-ons**++](https://portal.leapwork.com/app/addons)**section of Customer Portal**. Make sure this is enabled before adding the block to your flows.

* AI accuracy is not guaranteed, as it relies on probabilities and the daily performance of OpenAI's technology. Occasional inaccuracies may occur due to inherent limitations of the technology. For more details, please refer to OpenAI's documentation.

## Quick-start

1. Drag **AI Transform** onto the canvas.

2. Enter the data to transform in **Input**.

3. Specify the desired transformation in **Transform** (e.g., conversion, translation, or reformatting).

4. Define how the transformed data should be returned using **Result** (Single Item or Multiple Items).

5. Connect the green input and output connectors.

6. Run the flow when it's ready.

### Building block parameters

Parameters  
* **Block header** : The green input connector triggers the block to start executing. The block title ("AI Transform") can be renamed by double-clicking it and typing a new title.

* **Prompt** : The input data to be transformed (for example text, a number as text, or content returned from another block).

* **Transform** : The instructions that describe how the prompt should be transformed (for example "Convert that text into a number").

* **Output** : Contains the transformed data produced by the block. This output can be connected and used in other building blocks.

* **Result** : Defines how the transformed data is delivered (for example **Single Item** ).

* **Default timeout** : Controls whether the block uses the flow's default timeout or a fixed timeout. If the checkbox is selected, the timeout is **30 seconds** . If the checkbox is not selected, the timeout follows the **Default timeout** value set in the flow settings.

* **Timeout (sec)** : The timeout value shown for the block (for example **30** ). Use this as the maximum time spent performing the transformation when the block is not using the flow's default timeout.

* **Failed**: Triggers if the transformation does not complete successfully within the configured timeout, so you can branch your flow (for example, log the issue, retry, or fail the case).

## Resources

|                                                            **Topic**                                                            |                                                          **Description**                                                           |
|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| [Flows FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/flows-faq.md)                                                                         | Common questions about creating, running, and managing flows in Leapwork.                                                          |
| [Flows Troubleshooting](https://docs.leapwork.com/troubleshooting/latest/leapwork-flow-troubleshooting/flows-troubleshooting.md)                         | Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.                  |
| [++Customer Portal Add-ons++](https://docs.leapwork.com/leapwork-flow/latest/customer-portal/add-ons.md)                                                 | Customer portal section to activate your cloud blocks.                                                                             |
| [++Guidelines for using AI blocks++](https://docs.leapwork.com/best-practices/latest/leapwork-flow-best-practices/guidelines-for-using-the-ai-blocks.md) | Common guidelines for prompting, generating, validating, extracting, and transforming AI-driven test data in Leapwork's AI Blocks. |