Salesforce SDK FAQ

The examples use Contact records, but the API pattern indicates that any Salesforce record can be used as long as the record IDs are passed in and the referenced phone fields are available.

Yes. sendBulkSMS() accepts multiple Salesforce record IDs in the same request, which makes it suitable for outbound operational and campaign-style messaging.

Yes. sendBulkMMS() supports media-only messaging by passing an empty string for the message body.

Use getConversiveBalance() to retrieve SMSCredits and MMSCredits.

Run upsertEnvironmentSettings() and createConversiveAccount() during installation or onboarding, not during every message-send transaction.

Yes. Valid sender records should exist in Sender_Id__c before you run outbound messaging APIs.

Use trusted, populated, and normalized fields such as MobilePhone and Phone.

Wrap SDK calls in try-catch, log both the exception message and stack trace, validate input data before the call, and inspect the response wrapper before continuing business logic.