---
title: Copy of [Solution Guides Articles] -Automatic Product Description Updates with Automate, Aprimo, and ChatGPT
description: Automatic Product Description Updates with Automate, Aprimo, and ChatGPT
url: https://www.contentstack.com/docs/developers/solution-guides/-automatic-product-description-updates-with-automate-aprimo-and-chatgpt
product: Contentstack
doc_type: solution-guide
audience:
  - developers
  - content-authors
version: unknown
last_updated: 2026-03-26
---

# Copy of [Solution Guides Articles] -Automatic Product Description Updates with Automate, Aprimo, and ChatGPT

This page describes an automation workflow that integrates Automate, Aprimo, ChatGPT, and Contentstack to update product descriptions. It is intended for developers and implementers configuring Contentstack Automate workflows and connectors, and should be used when setting up automated content enrichment based on Aprimo metadata and ChatGPT-generated text.

## Automatic Product Description Updates with Automate, Aprimo, and ChatGPT

This automation workflow integrates Aprimo, ChatGPT, and Contentstack to streamline the process of updating product descriptions. It uses Automate for managing and retrieving image metadata from Aprimo, followed by employing ChatGPT to create fresh content leveraging that data.

## Prerequisite
- Access to Aprimo DAM Instance
- Access to Automate
- Access to ChatGPT/OpenAI API

## Flow of the Automation
- **Trigger:**The user updates the "image description" field of an image in a Contentstack entry and saves the entry.
- **Contentstack Update Notification:**Contentstack detects the update and sends an update notification to Automate, signifying the changes made to the "image description" field.
- **Aprimo Integration:**Automate receives the update notification from Contentstack and communicates with Aprimo through API access.**Update Aprimo Description:**Automate updates the corresponding description for the selected Aprimo image with the new "image description" data received from Contentstack.
- **Retrieve Relevant Data from Aprimo:**The automation retrieves additional relevant data regarding the updated image from Aprimo. This data could include product details, metadata, images, or any other pertinent information available via the connector that can be used to enrich the product description.
- **Pass Data to ChatGPT:**The retrieved data from Aprimo is then passed to ChatGPT via API access, requesting ChatGPT to generate a detailed product description based on the gathered information.
- **ChatGPT Description Generation:**ChatGPT processes the received data and utilizes its natural language generation capabilities to create a comprehensive and engaging product description.
- **Receive ChatGPT Output:**Automate receives the generated product description from ChatGPT.
- **Update Contentstack Entry:**Finally, Automate updates the Contentstack Entry's "product description" field with the output received from ChatGPT.

**End of Automation:**

At this stage, the automation process is complete. The product description for the updated image in the Contentstack entry has been enriched using data from Aprimo, including images, and the AI-powered insights from ChatGPT.

## Initial Setup

### Configure the Aprimo Marketplace App
You will need access to your instance of the Aprimo DAM so that users can select images. Connect the instance via the Marketplace App and the Automation Hub connector.

Follow steps 1-3 in this [documentation](https://www.contentstack.com/docs/developers/marketplace-apps/aprimo) to configure the Aprimo marketplace app.

### Create or Amend your Content Model
You will need to have the following 3 fields available for your editors to utilize:
- **Aprimo Image** - A [*Custom Field*](https://www.contentstack.com/docs/developers/create-custom-fields/about-custom-fields) configured to utilize the Marketplace App Integration with Aprimo.
- **Image Description** - A [*Single Line Textbox Field*](https://www.contentstack.com/docs/developers/create-content-types/single-line-textbox) to store the description of the image.
- **Product Description** - A *multi-line textbox*[* Field*](https://www.contentstack.com/docs/developers/create-content-types/multi-line-textbox)* *to store the AI-generated content.

## Create an Entry
- Using this new Content Type, create a new Entry.
- Be sure to fill out some placeholder content in the text fields and you will be able to access the Aprimo DAM to select an image.
- Save the Entry with data.

## Building the Automation

### Configure the Update Entry Trigger
- Create a new Automation and give it a name.
- Choose the [Contentstack Connecter](https://www.contentstack.com/docs/developers/automation-hub-connectors/contentstack-trigger#entry-trigger) for the **trigger event.**
- Select **Entry Trigger**.
- Select an Authorized **Account **or Authorize a new one.
- Select when the event **Entry is Updated.**
- Select the **Stack.**
- The default branch is Main.
- Click the toggle to **Show optional fields.**
- Specify the **content type** and/or **environment **if necessary.
- Test the trigger.
- In a new tab or window, navigate to the entry you created.
- **Save** the entry.
- Navigate back to the automation.
- **Test **or **retest** the entry.
- Verify the output that is returned with necessary data JSON (**aprimo_image id, image_description, product_descirption**).
- **7. Save **and** Exit**

## Updating an Aprimo Record
- Search for or choose the **Aprimo Connecter**.
- Select edit a record.

Follow this [documentation](https://www.contentstack.com/docs/developers/automation-hub-connectors/aprimo) to configure your Aprimo Connector by adding your account. Note that credentials are activated after 15 minutes.
- Select the **aprimo_image** **id** from the body payload Output from Previous Steps.

Set the key to **Description** and the **value** to the data from the **image_description **field.

Click **Proceed** and **Test Action**
- You should see a successful response message.

**Save **and** Exit**

## Getting an Aprimo Record
- **Create** a new action step.
- **Select** the Aprimo Connector.

Select Get a single Record.
- From the previous output select the **aprimo_image** id.
- In a new tab, log in to your Aprimo environment and double-check that the description you provided in your entry has been updated in the description area of your image. You can also check this data in the Automation payload.
- Click **proceed**.
- **Test** the action and verify the output.
- **Save **and** Exit**

## Passing Data to ChatGPT
- **Create** a new Step.
- Select the **ChatGPT** connector.
- Select **Chat.**

4. Add your ChatGPT [account credentials](https://www.contentstack.com/docs/developers/automation-hub-connectors/chatgpt) and **authorize**.

5. Select the ChatGPT **model **you wish to use to generate the content.

6. Add the following to the **Prompt Text**. Be sure to select the data from the output of “Get Single Record”.
“Based on the following information write me a 60-word summary of this product {{3.items.2.localizedValues.0.value}}. Make sure to include the full response.”

7. Select your desired **GPT role** and any optional configurations.

8. Click **proceed**.9. **Test** the Action and verify the response.

10. **Save** and **Exit**.

## Updating the Product Description Field
- **Add** a new step
- **Select** Contentstack as the connector.

**Select **Update Entry.

3. Fill in the corresponding values and select a message.

4. Insert **message.content** data from the ChatGPT response into the **product_description** field in JSON format.

Click **Proceed**.
**Test** the Action and verify the response to show that the Entry was saved and updated.
**Save **and **Exit.**

## Activate the Automation and Test
Now that you have configured the necessary connectors and steps it’s time to fully test the automation.
- Be sure to **activate** the automation.
- Create a **new entry** using the content model you built.
- **Add** an image and description.
- **Save** the entry.
- **Refresh** the entry page.

Congratulations! You have successfully implemented the automation

## Common questions

### What triggers this automation?
The user updates the "image description" field of an image in a Contentstack entry and saves the entry.

### What systems are integrated in this workflow?
This automation workflow integrates Aprimo, ChatGPT, and Contentstack, and uses Automate for managing and retrieving image metadata from Aprimo.

### What fields are required in the content model?
Aprimo Image, Image Description, and Product Description.

### Where is the ChatGPT output stored?
Automate updates the Contentstack Entry's "product description" field with the output received from ChatGPT.