Send customized notifications to users about important events or updates to the records that they’re working on. For example, notify account owners when a case is created.
This action is available in API version 51.0 and later.
Special Access Rules
To access the Dynamic Send Survey Invitation action, you must have the Feedback Management Survey Response Pack and the Salesforce org enabled with Surveys.
Supported REST HTTP Methods
URIs:
Get the list of invocable actions for each available survey: /services/data/v51.0/actions/custom/dynamicSendSurveyInvitation
Send survey invitation by email by using the invocable action: /services/data/v51.0/actions/custom/dynamicSendSurveyInvitation/surveyName
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication:Authorization: Bearer token
Inputs
Input
Type
Description
anonymousResponse
boolean
Indicates whether the participant’s name is recorded in the response record (true) or not (false).
autoExpiryDays
integer
Number of days remaining for the survey invitation to expire.
emailTemplateName
string
Developer name of the template that contains either the question or the survey link.
isUnauthenticatedResponse
boolean
Indicates whether the participant is required to authenticate before starting the survey (true) or not (false).
personalInvitation
boolean
Indicates whether the invitation is specific to the recipient (true) or not (false).
recipient
reference
Required. Salesforce ID of the record that the survey invitation is sent to.
recipientType
string
Type of the survey recipient.
surveyQuestionName
string
Developer name of the question that’s sent by using the invitation.
surveySubjectEntity
reference
ID of the record that associates the invitation record with another record.
Outputs
None.
Example
GET
This example shows how to get information about the Dynamic Send Survey Invitation action type.