简体   繁体   中英

Import all data from Firebase Database into Mailchimp

Firebase can be linked to Mailchimp , so I did. However, there is no way to import existing data. Only new ones will be inserted. Does anyone know a solution?

I assume you're using the Sync with Mailchimp extension for Firebase, which:

Adds new users from Firebase Authentication to a specified Mailchimp audience.

Given that description, it seems that this extension is only used for new users that are added to Firebase.

If you want to also add your existing users to Mailchimp, you have a few options:

  1. Write code to list those users with the Firebase Admin SDK , and then add them to Mailchimp using the Mailchimp API. You can use the source code of the extension for inspiration.
  2. File a feature request on the extension to add support for this feature.

I would recommend exporting the contacts to a CSV file using firebase CLI. Update the CSV file to match the format that Mailchimp expects, then import it into Mailchimp. No need to go the route of API calls.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM