The code snippets for the two examples in the Building unified customer profiles and personalized routing blog post can be found in the personalized-routing and unified-customer-profile directories respectively.
The sample CSV file used in the blog post Understanding customer context by ingesting data from homegrown and third-party applications into Amazon Connect with Amazon S3 can be found in the custom-profile-object-mapping directory.
For more information please feel free to check out: