9/24/2023 0 Comments Screenflow add callout![]() ![]() Create a Process builder on Opportunity.Finally, debug(if required), Save, and then Activate the flow.Create an action element to send an email alert created in step 1 and assign the Opportunity Id as a record.Then create a task of type call and enter the details like Due date, Assigned to, Related to, etc.Create a data element of type Update records to update the Opportunity stage.Create a record type variable available for input to get the opportunity record from the Process builder.Create an email alert with the Welcome Customers email template.This flow will update the Opportunity stage to Qualification, create a task for the Sales Rep and send a welcome email to the customer. To solve the above requirements, we would call an Auto launched Flow using the Process builder whenever the new Opportunity is created with type as New customer. Finally, a Welcome email should be sent to the customer notifying them about a call that has been scheduled with the sales representative.Secondly, the task should be created for the Sales Rep who owns the Opportunity to call the customer and get more details.Firstly, the Opportunity should be changed to the Qualification stage so that the VP of sales can better understand the sales process.Business Scenarioįor Instance, Marvel Industries plans to focus on improving their customer experience and wants to ensure whenever the new Opportunity arises with the type as a New Customer. Auto launched flows provide abstraction, as you can define the complex processes to be carried out in the background without a user knowing the details. These flows are launched automatically based on specific events or conditions. AWS Solution Architect Associate CertificationĪs the name suggests, Auto launched Flows can be launched when invoked by Apex classes, process builders, or REST API.ServiceNow Certified System Administrator.Salesforce Sharing and Visibility Architect Certification Course.Salesforce Data Architect Certification Course.Salesforce CPQ Specialist Training Course.Salesforce Platform Developer 1 Certification.Salesforce Certified System Administrator.If you want to review the Callout success of the flow you have created, return to the Declarative Webhooks app and select the Call Logs tab. We recommend testing this in your Sandbox before Production. If you want to enable either of these options change the values to. ![]() View Results allows the end user to view the body and response call that’s sent back by the server. Preview Callout allows the end user to preview each time before making the callout (rather than seeing a general or custom message). On the right sidebar, Preview Callout and View Results will default to false: The recordID can be hardcoded but it is not recommended. You have the option to set a default value in this screen. Most Flows already have variables but if you need to set it here, do the following: You can identify your Callout Template ID or Callout Template Developer Name under the Administration tab – Callout Templates subtab in the Declarative Webhooks app. Then in Callout Template Id or Callout Template Developer Name, enter the developer name or id of the template. On the right sidebar, give the custom component a Name. Find the desired ‘Make Callout with Template’ component and drag it into the screen: In the Custom Components left sidebar, scroll to Custom. In the Flow Label you will need to give it a Name of your choosing. Here we will review adding this component to a new or existing flow. Most processes will have this screenflow component as part of a Flow. To use the Callout Template in a visual Flow, you will start by going into Set Up and selecting Flows under Process Automation (be sure to check out Salesforce documentation on Flows as well!). If you need more control over what happens with the response body in the flow, we suggest using the synchronous callout in a flow feature. This feature allows you to use a screen component to make the callout and view the resulting response body after the callout. Implementing a Callout Using a Screen Flow
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |