By default, a Predict activation writes only the model's output fields: Score, Explain, Trend, and Scoring Date. Use Configure fields to write to also write fields from your analysis's decision base. This lets records in your target system include the data behind each prediction, not just the prediction results.
Requirements
- A new or existing Activation automation that updates a third-party system, such as Salesforce or Snowflake.
Step 1. Open the automation's Update to section
- In your analysis, select the Activation tab.
- Open an existing automation, or select New Automation.
- Under Update to, confirm that your Target system, Object, Record ID, and Source ID are configured.
When the automation runs, Predict first tries to find an existing record in your target system by using the Source ID value.
Step 2. Map decision base fields to your target system
Under Update to, select Configure fields to write.
- In the Additional fields to write panel, select a field under Source column. This list contains the fields in your analysis's decision base.
Select the corresponding field under Destination field. This list contains the fields on the object in your target system.
- Select + Add field to map another field. Repeat this step for each field you want to write.
- Select Save.
Step 3. Optionally create new records
By default, if Predict doesn't find a record that matches the Source ID value, it skips that record. If you enable Create records that don't exist yet, Predict creates a new record using the fields you mapped in Step 2.
- Select Create records that don't exist yet.
A key icon appears next to each mapped field. Select the key icon for each field you want to use as a match key. At least one match key is required to create new records.
- Select Save.
Note: Match keys are only used when Predict creates a new record through this setting. Predict always tries to find an existing record by using Source ID before it evaluates the match keys.