"Send file to Amazon S3 Bucket" node

The integration between Synerise and Amazon S3 Bucket opens up possibilities of exporting data collected in Synerise. By means of the Send file node, you can push data from Synerise to add it as a file a public cloud storage resource in Amazon Web Services. You can use this connection in various scenarios such as exporting transactions, event data, customer information (such as marketing agreements), results of metrics, aggregates, expressions, reports, and many more to Amazon S3 Bucket.

Prerequisites


You must have an account on AWS.

Node configuration


  1. Click Amazon S3 Bucket > Send file.
  2. Click Select connection.
  3. From the dropdown list, select the connection.

Create a connection

To allow the data exchange, establish a connection between Synerise and Amazon S3 Bucket.

  1. At the bottom of the Select connection dropdown list, click Add connection.
  2. In the Access key field, enter an access key identifier which you can find in the AWS panel.
  3. In the Secret key field, enter the secret key which you can find in the AWS panel.
  4. Confirm by clicking Apply.

Define the integration settings

In this step, fill in the form that allows you to send data from Synerise to Amazon S3 Bucket.

  1. In the Region field, enter the region of your bucket.
  2. In the Bucket field, enter the name of an existing container in your storage.
  3. In the Path to directory field, enter the path to the existing bucket in which the file will be saved.
  4. In the File name field, enter the name of the file you want to send to the storage. If the file already exists, the contents of the file will be overwritten.
    In this field, you can use Jinjava.
  5. From the File format dropdown list, select the format in which the file will be saved in the storage. If you select the CSV [*.csv] option, follow the instructions below:
    1. From the Delimiter dropdown, select the character that marks the end of a column.
    2. From the Quotation mark dropdown list, select the characters that contain the text.
    3. From the Escape character dropdown lists, select the character changes the default interpretation of a character or a string followed by the character.
    4. From the Line ending dropdown list, select:
      • Line feed - This option shifts the cursor to the next line vertically.
      • Carriage return and line feed - This option points the cursor to the beginning of the line horizontally and shifts the cursor to the next line vertically.
    5. The No Byte Order Mark option is currently unused.
    6. To wrap the values with characters selected in the Quotation mark field when the delimiter occurs in the value, select the Quoting style only if required option. For example, for the following values:
      - one
      - two,three,four
      The output with the enabled Quoting style only if required option will be as follows:
      • one,
      • “two,three,four”
  6. Confirm by clicking Apply.

Example of use


As an example of use, you can create a workflow that is triggered one time in order to export the customer database (email addresses and newsletter agreements) to the storage.

As a prerequisite for this example, create a segmentation of customers who have email addresses and enabled newsletter agreement. This segmentation will be used in the Get Profiles node that will be a part of the workflow.

Example of the segmentation conditions
Example of the segmentation conditions

In the configuration of the workflow:

  1. Start the workflow with the Scheduled Run node. In the configuration of the node, set the Run trigger to one time. Select the Immediately tab.
  2. To retrieve customers data to the workflow, as the next node, select Synerise > Get Profiles. In the configuration of the node:
    1. Select a segmentation from which you want to extract customers’ data.
    2. Select the customer attributes to be exported. In this example, it’s an email address and email marketing agreement.
  3. To send the file with customers data, add Amazon S3 Bucket > Send file. Fill in the configuration form in the node.
  4. Add the End node.
    Result:
    Final configuration of the workflow
    Final configuration of the workflow
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker