SLM Integration and Automation 2 — Questions and Answers
Question 1: Which Salesforce tool allows external systems to subscribe to Loyalty Management events in real time without polling?
- REST API polling
- Change Data Capture (CDC)
- Platform Events (Correct answer)
- Bulk API 2.0
Correct answer: Platform Events
Platform Events enable event-driven integrations where external systems subscribe to Loyalty events published by Salesforce in real time.
Question 2: A retailer wants to automatically award bonus points when a customer completes a survey in an external system. Which integration approach best supports this in Loyalty Management?
- Manual agent entry via the Loyalty console
- Inbound REST API call to the accrual endpoint (Correct answer)
- Scheduled Apex batch job querying the external system
- Salesforce Connect external object sync
Correct answer: Inbound REST API call to the accrual endpoint
An inbound REST API call from the external survey system to the Loyalty Management accrual endpoint triggers point awards in real time upon survey completion.
Question 3: What is the purpose of the 'processJournalEntries' API in Salesforce Loyalty Management?
- To generate financial ledger exports for accounting systems
- To bulk-process accrual and redemption transactions (Correct answer)
- To create new loyalty program member records
- To configure tier assessment rules programmatically
Correct answer: To bulk-process accrual and redemption transactions
The processJournalEntries API allows bulk submission of accrual and redemption transactions, making it ideal for high-volume integration scenarios.
Question 4: When using MuleSoft to integrate an e-commerce platform with Salesforce Loyalty Management, which pattern ensures idempotency for duplicate transaction prevention?
- Using sequential message queues with no deduplication
- Assigning a unique transaction reference ID checked before processing (Correct answer)
- Relying on Salesforce's automatic duplicate detection only
- Using HTTP GET requests for all transaction submissions
Correct answer: Assigning a unique transaction reference ID checked before processing
Assigning and checking a unique transaction reference ID before processing ensures duplicate transactions from the e-commerce platform are rejected or ignored.
Question 5: Which Salesforce feature should be used to automatically enroll a Contact in a Loyalty Program when their account type changes to 'Premium'?
- Scheduled Apex class running nightly
- Record-triggered Flow invoking the enrollMember action (Correct answer)
- Process Builder calling an Apex trigger
- Custom report with manual enrollment follow-up
Correct answer: Record-triggered Flow invoking the enrollMember action
A record-triggered Flow can detect the account type field change and invoke the Loyalty Management enrollMember invocable action automatically.
Question 6: A Loyalty program needs to send a personalized email with a member's current points balance immediately after every accrual. Which automation best achieves this?
- A scheduled report emailed weekly to all members
- An after-save Flow triggered on the Journal Entry object (Correct answer)
- A nightly batch Apex job querying recent transactions
- A manual email template sent by the loyalty administrator
Correct answer: An after-save Flow triggered on the Journal Entry object
An after-save Flow on the Journal Entry object fires immediately after each accrual record is created, enabling real-time personalized email notifications.
Question 7: Which API version introduced enhanced support for the Loyalty Management accrual and redemption endpoints in Salesforce?
- API v42.0
- API v51.0
- API v54.0 (Correct answer)
- API v60.0
Correct answer: API v54.0
Salesforce Loyalty Management APIs were significantly enhanced starting with API v54.0, aligning with the GA release of the Loyalty Management product.
Which Salesforce tool allows external systems to subscribe to Loyalty Management events in real time without polling?