We are often asked how to make CX decisions as targeted as possible. Once of the methods is to clearly understand as much as possible about the person interacting at the time of interaction. This Public Template is especially useful for our brands with an offline presence; it takes the IP address at the time of interaction and provides back into the flow of the rule various location details including country, city, latitude, and longitude. These fields can then be used in further personalisation - nearest store offers of direction information for example.
...
Exporting Data to S3 can be very useful in triaging issues with a Rule or as a part of a CX process. This Basic S3 Output takes up to ten fields and allows them to be output to a S3 location. A buffer size and Time period can be set to ensure the Data is transfered in suitable sized chunks
...
Input Data
Field | Description | Example |
---|---|---|
data1 to data10 | Series of ten fields that provide a simple template allowing data to be exported from the Rule to Amazon S3 | data1 |
Configuration
By default the Public template calls out to the API at https://ip-api.com/ and provides back the location information. At its basic tier you can make 45 calls for free per min. Good for small usage or testing. Beyond this volume it has a competative paid for tier. Configuration for the paid for tier can be done by adapting the Public Template appropriately and saving it in your local client.
Processing
This tile template will take the IP field in the flow and generate a series of location fields that should identify where the person was when the call was made.
Getting geolocation data from an IP is useful but is not always 100% accurate. For identifying a closest store or local weather it’s fine. It should not be relied upon to provide important location information, proximity to a forest fire for example!
The configuration items are focused on connecting to AWS and breaking the file outputs into suitable chunks.
Parameter | Description | Example |
---|---|---|
Access Key | Access Key | |
Bucket | The name of the S3 Bucket the output should be written to | |
Buffer Size | Number of rows to buffer before writing the file (Default to 5) | 100 |
Enclosure | Field Enclosure | |
Extension | file Extension | |
File Prefix | File name | myfilename |
Folder | Folder the output should be written to | |
Region | The AWS region to use when connecting to the Bucket | eu-west-2 |
Secret Key | Secret Key | |
Separator | Row Delimitor | |
Time Period | Time Period in Minutes to buffer rows before writing to file. Works with Buffer size | 60 |
Processing
This tile template will allow ten fields to be mapped and will export these to S3.
Output Data
Field | Description | Example |
---|---|---|
Message |