Export Conversations data to Amazon S3

Export all of your customer Conversations data to Amazon S3 with Data Export

Mark Sheldon avatar
Written by Mark Sheldon
Updated over a week ago

With Intercom's Data Export feature, you can export all of your customer Conversations to Amazon S3 for:

  • Reporting and analytics

  • Single Customer Views

  • Data quality and governance

There are export options for:

  • Historical: A two year export of all Conversations data

  • Periodic: Continual Hourly or Daily exports of new and updated Conversations data

  • Attachments: Conversation part attachment exports

1. Navigate to Workspace - Settings

2. Navigate to Workspace data - Data export and click New data export.

3. Select JSON or JSON Lines format for your exported Conversations data and toggle whether you want to Include attachments.

Only Conversations data in a JSON or JSON Lines format can be exported, and only to Amazon S3.

4. In the Destination section:

  • Enter a Bucket name

  • Enter a Folder name (optional)

  • Selecting Export data dated folders will export Conversations data into folders named 2023-07-13, 2023-07-14, 2023-07-15 etc

  • Selecting Skip empty exports when no data has changed will skip any Hourly or Daily exports where no data has changed

Important: You cannot export multiple workspaces to the same bucket.

5. After that, click Download the template file to download the template file needed to set up a CloudFormation stack.

6. Now setup an Amazon S3 bucket in your AWS Management Console.

7. Once your Amazon S3 bucket is created, navigate back to your Workspace data - Data export - Destination section.

8. Under Test your bucket, click the Test button to test that Intercom can write data to your Amazon S3 bucket. If successful, a notification will show ✔ Your bucket was successfully tested. Intercom can only write to your Amazon S3 bucket, it cannot read or delete files. During the test process, a file will be written to the root of your Amazon S3 Bucket; intercom-data-export-test-file.json.

9. In the Schedule section, if you want a full Historical data export from the last two years, choose Export historical data. Then select the preferred Periodic data export frequency, either Hourly or Daily.

10. Scroll back to the top of the Data Export page and click Start data export.

11. You will see a notification that a Verification email will be sent to you. This is a security measure to ensure that you are an Intercom Administrator with permission to access your Workspace Settings - Workspace data - Data export feature. Click OK.

12. The Verification email sent page will be displayed.

13. Navigate to your email client, to find the email from team@intercom.io and click Confirm.

14. The Data Export will start, with the Historical data export appearing in the table with the Status of In progress.

15. If you want to check your Data Export configuration settings you can select the Configuration tab to see this. You cannot change the Data Export configuration settings once it is running. To change any settings you need to delete the Data Export by clicking the Delete button, and then recreate it.

16. Navigate back to your Amazon S3 Bucket folder and you will see JSON or JSONL files appearing, in day dated folders if you selected that option in Step 4. Each JSON file will contain JSON formatted Conversation data. The filenames use a date time format in UTC, beginning with the start and end date times for each hourly batch. The Historical data and Periodic data is always exported in hour batches.

17. Navigate back to the Workspace data - Data export page. When the Historical data export is Completed, the Periodic data export will begin with the Hourly or Daily frequency selected in Step 20. All subsequent data exports will appear in the table with the Status of In progress and remain when the Status is Completed.

18. For Periodic data exports, each file will contain all new and updated Conversations for that period, with each JSON object containing the entire Conversation with all Parts, not a delta from the previous export.

19. If any Attachments are exported they will appear in a folder named as follows and are referenced from the JSON or JSON Lines exported Conversations data.

<folder_name>/attachments/<conversation_id>/<conversation_part_id>/<attachment_name>

20. You can delete a Data Export by clicking the Delete button.

Note: Currently, only Conversations data in a JSON or JSON Lines format can be exported to Amazon S3.


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?