Export the profiles
- Create a segment that holds everyone to migrate. Braze exports by segment, and a segment can be “all users”.
- Call the segment export with the fields a migration needs. The key must have the
users.export.segmentpermission.
push_tokens is an array with the app, the platform and the token per device.
Flatten to CSV
Turn each token into its own row. This script reads the exported lines and writes a CSV with the columns the import asks for:Map it in BuzzKit
Braze exports property names with their original capitalization. Rename columns in the script when your attributes follow a different convention.