Component that generates Survey Invitations on Account, Contact and Leads. Useful to generate Survey Invitation URLs and send them to Contacts in the Email body with another tool like Marketing Cloud. This component creates only guest invitations.

- Create Survey Invitation records for records selected in a list view.
- Launch a batch job that generates Survey Invitations for a SOQL query entered.
- Filter and select individual records for which Survey Invitations should be generated.
- Enable Person Accounts
- Set up a Community
- Enable the Salesforce Survey feature under Survey Settings
- Grant access on Survey objects to the Guest user profile of your community.
- Ensure the prerequisites mentioned above are fulfilled.
- Deploy the metadata components to your environment.
- In Setup navigate to the Object Manager and select the Object where you want to generate the Survey Invitation records (Account, Contact or Lead)
- Click the Search Layouts for Salesforce Classic option to add the list view button
- Click Edit next to List View row and add the custom button Generate Survey Invitations and click save.