Hi Eric,
For the agentless example, you'll need to create a Data Action and perform a POST request. For example:
Endpoint: /api/v2/conversations/emails/agentless
Body:
{
"senderType": "Outbound",
"fromAddress": {
"email": "test@campaign.domain.com"
},
"toAddresses": [
{
"email": "example@domain.com"
}
],
"subject": "Subject description",
"textBody": "Message text"
}
For the example of adding a contact to a campaign contact list, you would also use a POST request, like this:
Endpoint: /api/v2/outbound/contactlists/{contactListId}/contacts
Body:
[
{
"contactListId": "contactListId",
"data": {
"Name": "Name",
"Email": "example@domain.com"
}
}
]
In my contact list, there are only two fields, so the "data" object contains only Name and Email.
------------------------------
Elisson Fernandes
------------------------------
Original Message:
Sent: 12-15-2025 11:35
From: Eric Callagher
Subject: Agentless Email, Email Alert Workflow, External
Yes please.
Eric Callagher Telephony Engineer
The information contained in this email message is PRIVATE and intended only for the personal and confidential use of the recipient named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message.
The information contained in this email message is PRIVATE and intended only for the personal and confidential use of the recipient named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message.
Original Message:
Sent: 12/13/2025 10:16:00 AM
From: Elisson Fernandes
Subject: RE: Agentless Email, Email Alert Workflow, External
You're welcome!
If you need an example of how to use either of the two APIs, just let me know.
------------------------------
Elisson Fernandes
Original Message:
Sent: 12-12-2025 13:10
From: Eric Callagher
Subject: Agentless Email, Email Alert Workflow, External
Thanks Elisson!
I will definitely look into these.
------------------------------
Eric Callagher
Telephony Engineer
Original Message:
Sent: 12-11-2025 20:23
From: Elisson Fernandes
Subject: Agentless Email, Email Alert Workflow, External
Hi Eric,
That's correct,the "Send Email Notification" action is intended for sending emails to internal users.
https://help.mypurecloud.com/articles/send-notification-action/
Once that's in place, you can either:
- Use the API to send emails directly: /api/v2/conversations/emails/agentless
- Keep an email campaign always active and feed it using the API: /api/v2/outbound/contactlists/{contactListId}/contacts
------------------------------
Elisson Fernandes
Original Message:
Sent: 12-11-2025 18:52
From: Eric Callagher
Subject: Agentless Email, Email Alert Workflow, External
I am trying to send notification emails for emergency call events like 911/988 or inbound to Location Emergency Numbers. My workflow action 'Send Email Notification' will not validate with my email variable. It appears like it will only take System Users. Error is - Cannot convert expression from type EmailAddress Collection to required type of User Collection.
I tried setting up Agentless email and had a successful send from a test campaign. I thought I was on the right track.
It seems this data action won't play with external emails. Is there anyone who can point me in the right direction?
#ArchitectandDesign
#DigitalChannels
#Outbound
#Unsure/Other
------------------------------
Eric Callagher
Telephony Engineer
------------------------------