{"id":53715,"date":"2021-05-03T06:42:19","date_gmt":"2021-05-03T06:42:19","guid":{"rendered":"https:\/\/www.sogolytics.com\/help\/?page_id=53715"},"modified":"2022-08-16T14:10:40","modified_gmt":"2022-08-16T14:10:40","slug":"how-to-trigger-email-invitation-based-on-salesforce-events","status":"publish","type":"page","link":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/","title":{"rendered":"Email Invitations with Salesforce"},"content":{"rendered":"<p>If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the rules of your choice. This is a great way to automate your processes and collect fresh, timely feedback. <\/p>\n<div class=\"example-block-container blue-shade\">\n        <span class=\"example-block-content\"><span class=\"example-block-header\">For example:<\/span>When a case is closed, you might choose to send a follow-up survey to the relevant contact asking them to rate the support received.<\/span>\n  <\/div>\n<div class=\"sogo-help-info-box\">\n<i class=\"fal fa-info-circle\"><\/i> <\/p>\n<p class=\"sogo-info-text\">This feature is available only in our Enterprise plan. <a class=\"button-demo-form exclude_class_load\" href=\"javascript:openRequestDemoForm()\">Contact us<\/a> to take advantage of this option.<\/p>\n<\/div>\n<p>Here\u2019s how to setup a trigger for email invitations based on a Salesforce Workflow: <\/p>\n<ol>\n<li> Connect your Salesforce account with Sogolytics under Utilities > Integrations.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2022\/08\/30.2_D219.png\"><\/li>\n<li> Once the connection is complete, open your Salesforce account.<\/li>\n<li> In Salesforce go to Setup, and under Create select Workflow and then Workflow Rules.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2021\/04\/DSH5.png\"><\/li>\n<li> Select an Object on which the condition needs to be created. <\/li>\n<li> Click Next, name your Workflow Rule, and specify the Workflow conditions.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2021\/04\/DSH6.png\"><\/li>\n<li> In the next step, Add Workflow Action, select New Outbound Message, and add Name and Unique Name.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2021\/04\/DSH7.png\"><\/li>\n<li> Within your Sogolytics account, select the project that you would like to associate with the Salesforce Workflow.<\/li>\n<li> Go to Distribute, and click Publish.<\/li>\n<li> Select Single-use Link as the Publishing option and then select the email message that should be sent to the recipients.<\/li>\n<li> On the Select Source step, select Salesforce Workflow.<\/li>\n<li> Select the Salesforce object for which you created the Workflow rule. Ensure your selection is correct and matches the Workflow Object.<\/li>\n<li> In the Email Field object, select the email address field to which the invitation should be sent.<\/li>\n<li> If you have used Pre-Population in your project, or Mail Merge in your email message, you will be prompted to provide the values using Salesforce attributes of the selected Object.<\/li>\n<li> Follow the publishing wizard until the last step. Here, choose when the email invitation should be triggered. You may choose to send invitations as soon as Salesforce Workflow conditions are met or after a delay.<\/li>\n<li> On the last step, click Done.<\/li>\n<li> Now, you will be provided with an Endpoint URL.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2022\/08\/30.2_D220.png\"><\/li>\n<li> Copy this URL, and return to your Salesforce account.<\/li>\n<li> Go to the last step of your Workflow Rule, where you selected Workflow Action as New Outbound Message. Here, paste the Sogolytics Endpoint URL in the Endpoint URL field.<br \/>\n<img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2021\/04\/DSH9.png\"><\/li>\n<li> Click Save.<\/li>\n<li> Your Salesforce Email Invitation trigger is now set. Whenever the Workflow Rule\u2019s conditions are met, an email invitation will be sent to the selected Object\u2019s email field.<\/li>\n<li> To review all of your Endpoint URLs, as needed, visit Utilities > Integrations > Salesforce. <\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the rules of your choice. This is a great way to automate your processes and collect fresh, timely feedback. This feature is available only in our Enterprise plan. Contact us to take advantage of this option. Here\u2019s how to setup a trigger for email invitations based on a Salesforce Workflow: Connect your Salesforce account with Sogolytics under Utilities > Integrations. Once the connection is complete, open your Salesforce account. In Salesforce go to Setup, and under Create select Workflow and then Workflow Rules. Select an Object on which the condition needs to be created. Click Next, name your Workflow Rule, and specify the Workflow conditions. In the next step, Add Workflow Action, select New Outbound Message, and add Name and Unique Name. Within your Sogolytics account, select the project that you would like to associate with the Salesforce Workflow. Go to Distribute, and click Publish. Select Single-use Link as the Publishing option and then select the email message that should be sent to the recipients. On the Select Source step, select Salesforce Workflow. Select the Salesforce object for which you created the Workflow rule. Ensure your selection is correct and matches the Workflow Object. In the Email Field object, select the email address field to which the invitation should be sent. If you have used Pre-Population in your project, or Mail Merge in your [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"parent":0,"menu_order":557,"comment_status":"closed","ping_status":"closed","template":"sogo_new_design.php","meta":{"footnotes":""},"categories":[222],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.7.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Email Invitations with Salesforce - Sogolytics<\/title>\n<meta name=\"description\" content=\"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Email Invitations with Salesforce - Sogolytics\" \/>\n<meta property=\"og:description\" content=\"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/\" \/>\n<meta property=\"og:site_name\" content=\"Sogolytics\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-16T14:10:40+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/\",\"url\":\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/\",\"name\":\"Email Invitations with Salesforce - Sogolytics\",\"isPartOf\":{\"@id\":\"https:\/\/www.sogolytics.com\/help\/#website\"},\"datePublished\":\"2021-05-03T06:42:19+00:00\",\"dateModified\":\"2022-08-16T14:10:40+00:00\",\"description\":\"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sogolytics.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Email Invitations with Salesforce\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/#website\",\"url\":\"https:\/\/www.sogolytics.com\/help\/\",\"name\":\"Sogolytics\",\"description\":\"Sogolytics - Online Survey Tool\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sogolytics.com\/help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Email Invitations with Salesforce - Sogolytics","description":"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/","og_locale":"en_US","og_type":"article","og_title":"Email Invitations with Salesforce - Sogolytics","og_description":"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the","og_url":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/","og_site_name":"Sogolytics","article_modified_time":"2022-08-16T14:10:40+00:00","twitter_card":"summary","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/","url":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/","name":"Email Invitations with Salesforce - Sogolytics","isPartOf":{"@id":"https:\/\/www.sogolytics.com\/help\/#website"},"datePublished":"2021-05-03T06:42:19+00:00","dateModified":"2022-08-16T14:10:40+00:00","description":"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based on the","breadcrumb":{"@id":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sogolytics.com\/help\/how-to-trigger-email-invitation-based-on-salesforce-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sogolytics.com\/help\/"},{"@type":"ListItem","position":2,"name":"Email Invitations with Salesforce"}]},{"@type":"WebSite","@id":"https:\/\/www.sogolytics.com\/help\/#website","url":"https:\/\/www.sogolytics.com\/help\/","name":"Sogolytics","description":"Sogolytics - Online Survey Tool","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sogolytics.com\/help\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"seo_meta_info":{"yoast_noindex":"","rankmath_noindex":"","yoast_title":"Email Invitations with Salesforce","yoast_desc":"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based&hellip;","rankmath_title":"Email Invitations with Salesforce","rankmath_desc":"If you use Salesforce to keep track of leads and contacts, you can use Salesforce Workflows to send email invitations to leads and contacts based&hellip;"},"_links":{"self":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/53715"}],"collection":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/comments?post=53715"}],"version-history":[{"count":7,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/53715\/revisions"}],"predecessor-version":[{"id":59877,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/53715\/revisions\/59877"}],"wp:attachment":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/media?parent=53715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/categories?post=53715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/tags?post=53715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}