<turbo-stream action="update" target="wiki_card"><template>
<h1>Setting up Salesforce.com outbound notification to trigger a Schedule in Rapidi</h1>
<p>To setup Salesforce.com outbound notification messages to trigger that a schedule in Rapidi is run immediately, please follow these steps:</p><p><strong>First of all: To enable this feature, you need to ask the Rapidi support team to enable this feature and set up your Salesforce.com OrganizationId on your Rapidi Service</strong></p><ol><li>Open a case at www.rapidionline.com/support/Submit-a-case&nbsp; - include you SFDC OrganizationId</li></ol><p><strong>If you have not already done so, create a Schedule in Rapidi, for the Transfer or Group of transfers that you want to trigger</strong></p><ol><li>Create the Schedule in Rapidi service configuration (MyRapidi)</li></ol><p><strong>A</strong>. <strong>Add a computed field called "ScheduleCode" to the Object that should trigger the transfer</strong></p><ol><li>In Salesforce.com, go to Setup - App Setup - Customize - "Object" (for example Opportunities) - Fields</li><li>In "Opportunity Custom Fields &amp; Relationships" select New</li><li>Select Formula as field type</li><li>Give it a Field label and Field name. The Field name must contain "ScheduleCode", but can be longer - like "Rapidi_ScheduleCode"</li><li>Select Formula Return type "Text"</li><li>Enter a formula like "G_ORDER" - where G_ORDER is the Schedule Code in Rapidi that you want to trigger (you must include the double quotes)</li><li>Click Next and Next and Save</li></ol><p><strong>Optional (needed if you have multiple services): Add a field called "ServiceId" to the Objects that should trigger the transfer.</strong></p><ol><li>In Salesforce.com, go to Setup - App Setup - Customize - "Object" (for example Opportunities) - Fields</li><li>In "Opportunity Custom Fields &amp; Relationships" select New</li><li>Select Formula as field type</li><li>Give it a Field label and Field name. The Field name must contain "ServiceId", but can be longer - like "Rapidi_ServiceId"</li><li>Select Formula Return type "Text"</li><li>Enter a formula like "123" - where 123 is your Rapidi ServiceId (you can find this in the browser address line when you are in your Rapidi configuration)</li><li>Click Next and Next and Save</li></ol><p><strong>B</strong>. <strong>Create an Outbound Message<br></strong><br></p><ul><li>Login to Salesforce.com and go to Setup - App Setup - Create - Workflow &amp; Approvals - Outbound Messages and click "New Outbound Message"</li></ul><p><br></p><p></p><img src="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVVCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--35172dedb3f71955a2bbe2458904bd5e959a5378/image.png" width="211"><br><br><br><br><br><br><br><br><br><br><br><br><p></p><ul><li>Fill in the below fields as follows:&nbsp;</li></ul><ol><li>Select the <strong>Object</strong> that can trigger this message (for example Opportunity)</li><li>Give it a unique<strong> name</strong> and a <strong>description</strong> and set the <strong>Endpoint URL</strong> to <strong>https://api.myrapidi.com/api/SFDCScheduleTrigger</strong></li><li>From the "<strong>Available Fields</strong>" select the "<strong>ScheduleCode</strong>" field created above (and optionally the<strong> ServiceId</strong> field) and Add it to the selected fields.</li><li>Save the new Outbound message.</li></ol><p>&nbsp;<br><br></p><p></p><img src="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVlCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f141ddb425e390dcb2f5190c1ef50550ae9da929/image.png" width="892"><p></p><p><br><br><br><br><br><br><br></p><p><br><br><br><br><br><br><br><br><br><br><br><br><strong>C. Create a Flow</strong></p><ol><li>In Salesforce.com go to Setup - App Setup - Create - Workflow &amp; Approvals - Flows.. click 'New Flow'</li><li>Select Object - select the object whose records trigger this flow</li><li>Configure Trigger - select 'Trigger the Flow When'...</li><li>Set Entry Conditions - specify condition requirements and click Done</li><li>Select Add element, Interaction - Action...</li><li>Search the outbound message you created in the previous step, give it a label and description, click Done</li><li>Click Save, enter Flow label and description, click Save again</li><li>Click Activate</li></ol><p>&nbsp;One example of a flow is the one below but you can have a different setup in place.&nbsp;<br><br><br></p><p></p><img src="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVFCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4fd0f21020e3e87aa697b0d5310862a4b44d382a/image.png" width="800"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><p></p><p><br><br><br><strong>Congratulations - you are done!<br><br></strong><br></p>
</template></turbo-stream>

<turbo-stream action="replace" target="meta_description"><template><meta content='Setting up Salesforce.com outbound notification to trigger a Schedule in Rapidi' id='meta_description' name='description'></template></turbo-stream>
<turbo-stream action="replace" target="meta_keywords"><template><meta content='triggered schedules instant sync salesforce' id='meta_keywords' name='keywords'></template></turbo-stream>
<turbo-stream action="update" target="meta_title"><template>Setting up Salesforce.com outbound notification to trigger a Schedule in Rapidi - MyRapidi Wiki</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
