---
title: "Personalize Messages With Images Retrieved From Unsplash"
slug: "personalize-messages-with-images-retrieved-from-unsplash"
updated: 2025-09-03T13:00:13Z
published: 2025-09-03T13:00:13Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Personalize Messages With Images Retrieved From Unsplash

The HTTP connector allows you to retrieve images from Unsplash based on any parameter stored in Contact Profile (for example, name of the city, musical instrument, dog breed, etc.). You can use those images to bring your email personalization to the next level.

> [!TIP]
> This article only shows one of countless possible scenarios. Build your own creative nurture paths with the HTTP connector in Mapp Engage!

## Scenario

You are offering pet products and want to personalize welcome messages to new contacts with their specific dog breed image, rather than just a random image.

![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/aa846864-4d9e-4c46-a72a-ea5186659d03.png)

## Prerequisites

To follow the scenario, Mapp Engage has to be activated and configured.

"Dogbreed" has to be set up as custom attribute.

## A) Set up connection with Unsplash API

1. Go to [unsplash.com/developers](https://unsplash.com/developers) and register as a developer. Then create an App.
2. The [Getting Started](https://unsplash.com/documentation#getting-started) documentation will guide you through the set-up process that will allow you to use the Unsplash API. Complete the steps.
3. Now [create a new record in the Credential Store](/v1/docs/credentials-overview-tab) that allows you to connect to the Unsplash API. In our use case, we will be searching for photos by keyword. For more details see [Unsplash Documentation](https://unsplash.com/documentation).

## B) Prepare Message

Prepare the email you want to send. In Step D we will add the content from Unsplash.

## C) Create Whiteboard in Engage

1. Create an event-based Whiteboard: *Automations > Whiteboard NEW > Create > Event-based .*
2. Set the entry event to define, when the whiteboard should be triggered. In our example we use **Enters Group**, and select the group.

> **Enters Group** is an Event in the Whiteboard. Engage registers this event when a new contact joins a group. This includes contacts added manually, via an automation, or with certain API methods. For more information, see [Enters Group](/v1/docs/enters-group).
3. As a next step, we are connecting with Unsplash and send the dogbreed of our contact's dog.
4. Add the job **Send HTTP Request**. ![image2020-12-17_9-12-31.png](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/f180838a-1599-41f2-afad-7da4f81785aa.png)
5. Select the API connection that you configured in the Credential Store from the drop-down list under **Credential Store Record**. Select the **GET** **Method**and **UTF-8** encoding. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/3241b445-2611-4c88-b46f-cffd41dc485f.png)
6. Click **Add** **Parameter**. Unsplash uses the "query" parameter for the searched term.
  1. Use "query" as parameter name.
  2. Select defined value.
  3. Add the value. In this case, the value is a Custom Attribute that defines the dog breed: `${user.CustomAttribute[‘dogBreed’]}`. If you don't have this Custom Attribute defined, see [here](/v1/docs/create-custom-attributes) how to do it.
  4. Click **Save** **Parameter** . ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/513dd39b-e965-4830-9c94-e52a44b9a49f.png)
  5. Click **Apply**.
7. Configure the **HTTP Response Body Parser**. This allows you to use the parameter values received from the server. In our example we get an image of a specific dog breed, the photographer's name and a link to his profile, so you will add three parsers in this step.
  1. Select **JSON**from the drop-down list.
  2. Click **Add Parser**. The Parser Settings window opens.
  3. Insert the parsing formula.

> [!TIP]
> Use the [JSONPath Online Evaluator](https://jsonpath.com/) to check the validity of your parser formula.
> 
> 1. Copy the example API response from [here](https://openweathermap.org/current#current_JSON).
> 2. Paste it in the left panel of the [online evaluator](https://jsonpath.com/).
> 3. Paste the parameter in the **JSONPath Syntax** field.
> 4. Check results on the right panel.
  4. Add parameter name.
  5. Click **Save Parser**. Repeat the actions in point 7 to add the name parameter. In this example we have three parsers:
    1. Dog Breed (with parsing formula $.results[0].urls.small) ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/3b689471-6726-44c0-b508-6e8114ad2440.png)
    2. Photographer's Name (with parsing formula $.results[0].user.name) ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/3f528faa-52f3-4d95-92f9-036a451c5d66.png)
    3. Photographer's Profile Link (with parsing formula $.results[0].user.links.html) ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/9c194278-04d4-42d5-946d-0f42a5be0075.png)
  6. Click **Apply**. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/fdfd8e5c-9ebc-4cea-be5d-1032f9d10ba5.png)
8. Add the job **Send Email** and select your prepared message.
9. Add the parameters to make it usable in your email. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/6e007791-d047-4e4e-8f8a-1d53f5db21ec.png)
10. Click **Apply** and activate your Whiteboard.

## D) Edit Prepared Message

Finally, you have to integrate the parameters in your email. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/edba528d-b01a-4939-b2f5-89cece702587.png) For more information on email personalization, see [Use Related Data in a Message](/v1/docs/use-related-data-in-a-message).
