![]() However, you cannot know if the email address is real or not. You can create a REGEX validation rule to prevent entering emails in wrong formats. Here is another example to validate an email address using the Email Validation API of Abstract API.Īctually, this one is very useful. This is a public API of Hebcal and you just need to pass the Gregorian date and it returns the Hebrew date. Here is a callout to convert Gregorian date to Hebrew date. There are endless use cases for the HTTP callout feature. Enter a name for the Named Credential and enter this for the URL: Go to setup, search for Named Credentials and click New Legacy. In this example, let's use Abstract API's Exchange Rates API.ġ- According to their API documentation, the request should be like this: įirst of all, let's create a Named Credential in Salesforce. There are many great APIs that you can find online. Let's build a Screen Flow that makes an HTTP callout to bring the current exchange rates for USD. For instance, you can build a record-triggered flow to make an HTTP callout when a record meets a criteria. ![]() This feature is available in any Flow type that contains the action element. Now you can make an HTTP callout directly from Flow without using any code. Before this release, you had to build Apex classes in order to make calls to external web services. Although it supports GET calls only (for now), it is a very useful feature. It is a new beta feature that Salesforce introduced in the Spring '23 release. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |