Create and update Collection Documents
Sync your models profiles and attributes into a Firestore collection document to enable real-time personalization and rapid data retrieval in your apps and websites.
Overview
This destination service allows DinMo to insert new documents or update existing ones in your Firestore collections based on your DinMo profiles or segments.
To use this service, follow these three steps:
Create a Firestore destination. Follow our step-by-step guide to establish this connection.
Create your DinMo user segment or data model representing the data you want to sync to Firestore.
Activate your segment or model with the Firestore destination to start synchronization.
Every time the activation runs:
DinMo performs an upsert operation:
Insertion: If a Firestore document matching the provided Document ID does not exist, DinMo will create it using the mapped attributes and document id value.
Update: If a document exists, DinMo updates only the mapped attribute values.
Attributes that exist will have their values updated.
Attributes not present in the document will be created upon the first synchronization and regularly updated afterward.
DinMo will not delete existing documents even if the profile no longer exists in the model or segment. It will simply stop updating these documents.
Destination Setup
Before beginning data synchronization, set up your Firestore destination:
Go to destinations > Add a destination.
Choose your Firestore Platform.
Click on Create and update Collection Documents option.
Give it a name and save the destination.
Activation Configuration
Once the Firestore destination is configured, create an activation to begin syncing your data:
Specify the Firestore collection name to store your synchronized data.
Define the mapping between your data warehouse attributes and Firestore document fields.
Field Mapping
During activation setup, you need to specify:
Document ID Mapping: Choose the unique DinMo profile field used as the Firestore Document ID.
Collection Name: Enter the name of your Firestore collection.
Custom Attributes: Add custom attributes by mapping model fields and typing in custom names that will be used as document field names.
Scheduling
Define how frequently your data is updated in Firestore. With each scheduled update:
DinMo will perform an upsert operation, inserting new documents or updating existing ones.
Existing documents not found in the current DinMo data segment or model will remain in Firestore but will not be updated further.
Last updated