I have a Flow that needs to send an email when a record is created on a Custom Object. No matter what I put in the recipient field, I continue to get "0 recipients Error ID: 1728011022-505532"when I try to trigger the flow.
What I first tried was go search resources, triggering record -> Respondent field (this looks up the contact) ->Contact ID:
When that failed, I tried several different versions of creating a text variable to look up the same thing and put that in the recipient ID field. Again, no luck. Finally, I switched the look-up from "Search Resources" to "Enter Text" and put in the text of a contact ID I know for sure is active and has a valid email address, but still got the error.
For this flow, I need to have it pull the email address of the Contact (Respondent) listed in these records. What am I missing?
#Flow #Flows #Custom Objects
Hey Nich,
Per Salesforce Help, since you're using Recipient ID, the requirement isn't just that the ID resolves to a valid record, the Contact itself must have a populated Email field. Even a hardcoded, known-active Contact ID will still throw "0 recipients" if that Contact's Email field is blank.
Double-check:
1. Open the actual Contact record behind {!$Record.Respondent__r.Id}, confirm the Email field has a real value (not blank)
2. Confirm Respondent__c is a proper Lookup to Contact (not a text field storing an ID as a string), Recipient ID needs to be a real relationship reference
Since even your hardcoded test Contact ID failed, that specific Contact's Email field is the most likely culprit here, verify that first.
Reference:
https://help.salesforce.com/s/articleView?id=000384002&language=en_US&type=1