![]() ![]() It will also create a dynamic apex response class. This process will create an external service VeriPhoneES that can be checked using Setup->External Services. This will create a response apex wrapper class. Provide sample response JSON by clicking on Add/Edit in Provide Sample Response section. (3) – Provide Sample response JSON to create respionse Apex Class automatically. Values for these parameters are replaced using Flow variables. This will be appended to the base named credential Url that is set in the named credential. Put the required information in the HTTP Callout screen. We will get New HTTP Callout (Beta) screen to create a callout in flow. You will get + Create HTTP Callout (Beta) in the action selection dialog. Now drag an Action element on the screen element. recordid is a dynamic variable that can hold record id as well as sObject. We will get the current sObject record in this property. Get Current RecordĬreate a recordId property of the account record type. Now let us create a screen flow Verify Phone that will validate the customer’s phone number and update the verification status in the account record. Create Salesforce Flow to Verify Phone/Mobile Add the above-created external credential to the External Credential property. Then only put and the rest of the URL will be appended using th e Http Callput action. Put base API URL in Url property for named credential. Let us set up the named credential using the above external credential. We are done with the external credential setup. Once we set the authentication protocol, set permission set mapping which will indicate who all users can call named credentials. In our case, we have an API key that is passed in the URL to authenticate callout so we will use a custom authentication protocol. We will create external credentials first before creating named credentials.Īn external credential represents the details of how Salesforce authenticates to an external system via an authentication protocol. We have a lot of benefits using named credentials, you can check our video for more information. We will create a named credential to call external API. Create an External Credential and a Named Credential You can create a permission set from Setup -> Permission SetsĪssign object permission (CRUD) “ User External Credentials” to store encrypted tokens used by named credentials. This permission set will be assigned to all users who need to call external API using flow. Create a Permission Set for CalloutĬreate a permission set Callout User PS and assign this permission set to yourself. After confirmation, you can see your API key detail in the setting section. A confirmation email will be sent to the email which is used for registration. Once registration is done, verify the account using the confirmation link. You can use your Gmail or GitHub user also for creating a free user account. Setup User in VeriPhone APIĬreate a free user in VeriPhone system. Let us implement all these steps one by one 1. Create Salesforce Flow to Verify Phone/Mobile.Create an External Credential and a Named Credential.Steps for implementing and integrating VeriPhone API Right now it is supporting only GET operation of API. This way we can easily maintain external API interaction. HTTP Callout (Beta) is a new feature in the Salesforce Flow to call external API without code. This post is using the same API to verify phones using no-code approach. We have already published a post to Verify Phone in Salesforce using VeriPhone API using a low code approach. This post will verify phone using Flow Http Callout (Beta) with VeriPhone API. Phone/Mobile verification can be done using many ways. ![]() Businesses will need a verified phone number in every stage of the customer lifecycle including account creation, transaction authentication, and ongoing customer engagement activities to decrease the potential for compromised security. Businesses need verified customers/users so that they can share important information about business/ regulatory updates. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |