Google Tag Manager

Forum Discussion

klfoulk16's avatar
klfoulk16
Supporter
13 hours ago

Bulk Assign Subscription Groups

Can I "bulk assign" users to a subscription group using the Braze CSV import tool? For instance, if I wanted to assign 250k of our users to a specific subscription group, is that something I can do myself without a) using the API, or b) manually going to each user’s profile and switching their subscription status?

I'm hoping this would work the same way as bulk assigning users a specific Custom Attribute value, which is very simple via CSV import. Thanks!

I read previously that I could do this by including two columns subscription_group_id (found under your subscription group page) and subscription_state (unsubscribed or subscribed). I can only do one subscription group per import.'

I tried doing this and it did not add anyone to the subscription group. Has this changed in the past year?

2 Replies

  • klfoulk16​  The steps given by eakinsey​   should work.

    Assuming you have already followed this, Do you see any errors while importing the CSV file?
    Also, what is the status of the import?

    If possible, could you please share some sample file structure? This will help us identify any potential issues the file might have.

  • eakinsey's avatar
    eakinsey
    Icon for Community Manager rankCommunity Manager

    Hi klfoulk16​! My understanding is that yes - you should be able to do this with a CSV import. 

    Your CSV should include the following columns:

    • external_id: A unique identifier for each user.
    • subscription_group_id: The ID of the subscription group you want to assign the user to.
    • subscription_state: Indicates whether the user is subscribed or unsubscribed from that subscription group.

    So this would look something like:

    external_id,subscription_group_id,subscription_state
    user1_id,group_id_1,subscribed
    user2_id,group_id_1,unsubscribed
    user3_id,group_id_2,unsubscribed
    user3_id,group_id_3,subscribed
    user4_id,group_id_3,subscribed

    Keep in mind:

    • The CSV import is case sensitive. Make sure the column headers match exactly as specified.
    • Each row in your CSV can specify a different subscription_group_id, allowing you to assign users to multiple groups in one import.
    • Ensure that the external_id is unique for each user and corresponds to existing users in Braze.
    • The import process will handle each row independently, so users will be updated according to the specified subscription group and state.

    There have been no changes to this functionality in the latest documentation. If you encounter any issues during the import, double-check the formatting and the IDs used, and if you keep running into issues, consider filing a support ticket. 

    Let me know if that helps!