
Synerise allows you to collect data from any customer touchpoint. Using Synerise's seamless integration with Amazon S3, you can import any data stored in this storage and use it in the Synerise platform.

In this use case, we will perform a single import of customers from Loyalty Program from Amazon S3.

This file comprises users who are a part of loyalty program. By importing this file from the Amazon S3 Bucket to Synerise, you can create tailored marketing campaigns to retain these valuable customers, such as offering loyalty rewards, VIP promotions, or personalized product recommendations based on their previous purchases. 

The file used in this use case is only an example. You can import any other files or different data types as needed.

## Prerequisites 
---
You must have an account on AWS.

## Create a workflow
---
Create a workflow which downloads the customers' data from Amazon S3 to Synerise. The workflow will be triggered one time in order to import the loyal customer database to Synerise.

1. Go to <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/automation-hub-icon.svg" alt="Automation Hub icon" class="icon" > **Automation Hub > Workflows > New workflow**.  
2. Enter the name of the workflow.

### Define the Scheduled Run trigger node 
---
At this stage, we will configure conditions that launch the workflow. As a trigger, we will use the **Scheduled Run** node.

3. As the trigger node, add **Scheduled Run**.  
4. In the configuration of the node:  
    1. Change the **Run trigger** option to **one time**.  
    2. Select **Immediately**.
    4. Confirm by clicking **Apply**.

<figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/amazons3-scheduled-run2.png" class="full" alt="The configuration of the Scheduled Run node"><figcaption>The configuration of the Scheduled Run node</figcaption></figure>

### Configure the Get file node 
---
In this step, to allow the data exchange, establish a connection between Synerise and Amazon S3 Bucket.

1. Click **Amazon S3 Bucket > Get File**.
2. Click **Select connection**. 
3. From the dropdown list, select the connection.  
   - If no connections are available or you want to create a new one, see [Create a connection](/docs/automation/integration/amazon-s3-bucket/get-file-amazon-s3-bucket).
   - If you selected an existing connection, proceed with the integration settings. 
4. In the **Region** field, enter the region of your bucket.
5. In the **Bucket** field, enter the name of an existing container in your storage.  
6. In the **Path to directory** field, enter the path to the existing bucket in which the file will be downloaded. 
7. In the **File name** field, enter the name of the file you want to download from the storage. 
8. From the **File format** dropdown list, select the format of the file which will be downloaded.
9. Confirm by clicking **Apply**.  

<figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/amazons3.png" class="full" alt="The configuration of the Amazon S3 Get file node"><figcaption>The configuration of the Amazon S3 Get File node</figcaption></figure>


### Add Import Profiles node
---
In this step, add Import Profiles node, to import the file with customers database directly to the **Behavioral Data Hub > Profiles** in Synerise.

1. On the **Get File** node, click **THEN**.
2. From the list that opens, select **Synerise > Import Profiles**.

### Add the finishing node
---
12. Add the **End** node. 
13. In the upper right corner, click **Save & Run**.  

    <figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/amazon-s3-configuration.png" class="full" alt="The workflow configuration"><figcaption>The workflow configuration</figcaption></figure>

## Check the use case set up on the Synerise Demo workspace
---
You can check the configuration of the [workflow](https://app.synerise.com/automations/automation-diagram/d5556b04-b373-489c-9eff-fda7dd1f9c88) created in this use case on our Synerise Demo workspace.  

If you’re our partner or client, you already have automatic access to the **Synerise Demo workspace (1590)**, where you can explore all the configured elements of this use case and copy them to your workspace.  

If you’re not a partner or client yet, we encourage you to fill out the contact [form](https://demo.synerise.com/request) to schedule a meeting with our representatives. They’ll be happy to show you how our demo works and discuss how you can apply this use case in your business.

## Read more
---
- [Get File (Amazon S3 Bucket)](/docs/automation/integration/amazon-s3-bucket/get-file-amazon-s3-bucket)
- [Workflows](/docs/automation) 


