Image for post
Image for post
Mini postman screen flow

Hi folks, In this article I’d show you how I made a “mini Postman” with Salesforce Flow. And the good news is you can use this Apex Action in Flow to do your own callout, as an alternative of External Services (if you’re too lazy to create your own swagger schema, or you found External Services limitations in your use case).

If you’re interested in using this InvocableCallout Action beside the “mini Postman” use case, I highly suggest you to visit these two documentations on how I managed to parse JSON data with Salesforce Flow.

When to use InvocableCallout (and JSON utility above) instead of External Services? …

Image for post
Image for post
FuzzyWuzzy UI

Hi Folks!

In this article, I’d like to show you about my porting result from xdrop’s Java FuzzyWuzzy algorithm (originally from python FuzzyWuzzy)

Why FuzzyWuzzy in Salesforce?
- This package will help you to automate a bunch of boring stuffs related to string processing in Salesforce
- Previously, I used Python FuzzyWuzzy library to process my strings. So to have this function, I needed to expose an API to serve requests from Salesforce and Salesforce will need to callout to that API. But with this, no more callout!
- Currently, Salesforce has similar function which is Contains, but with sometimes, contains is not enough because contains doesn’t care about typos and abbreviation when we’re matching strings. …

Image for post
Image for post

Hi Folks, in this article, I’d like to show you how to reuse one Rest Apex Class (+test class) for your lifetime Salesforce implementation.

For those who still not see my article about JSON Parsing in Salesforce Flow, I would suggest you to visit here and here to see how I managed to parse JSON inside Flow Builder because in this article, I will use those components to process inbound data from the rest API.

You may already know that, we can launch Flow directly from Rest API from this official Salesforce Documentation. So the question is, why would I use this method if Salesforce already has default way to launch Flow from Rest API? My personal answers are:
1. That method only support 1 HTTP method, that is POST. And sometimes, we need to use other method when we’re dealing with Salesforce Rest API
2. If you use Official Salesforce method, you’ll not able to custom your own JSON Structure, you’ll have to follow their pattern. …

For you, who still haven’t read my article about JSON parsing in Salesforce Flow, I suggest you to visit this article, before reading this one.

As promised in my previous writing, this time I’ll show you how to process a JSON list and parsing it with Salesforce Flow without having to hardcode the list index in Salesforce Flow. And you’ll be able to loop the list in flow.

a. Install this InvocableMethod Apex Class to convert JSON list to collection variable here (don’t forget to change login to test.login if you want to install in sandbox):
source code:

b. For this article, I’ll use this JSON as example for…

Working with Salesforce, you may have to connect to a lot of integrations with other external services. And when we’re talking about external services, the most common protocol is REST API and when we’re talking about REST API, commonly there will be JSON data that you need to send or you need to parse.

Now, I won’t be talking about how to send JSON data to other external services, I want to talk about how to parse JSON data inside Salesforce Flow, turn the parsed JSON data to variable inside Salesforce flow, and you will be able to process the automation whatever you’d like inside Salesforce Flow. …

This document is deprecated, move to

These days, you can connect your Salesforce Org to any API in the world with API Callout method using APEX Class. But sometimes, it can be pain in the ass because we have to hardcode the URL Endpoint, Headers, Body, etc and also have to create the trigger and handler using another APEX Class. So in this article, I would like to share my Generic APEX Code that can be used in your org and can be called via Process Builder or Flow Builder using Invocable Method.

The use case of this article would be the same with this Trailhead course . Which I will only use the GET Method and using the same endpoint. ( …

Currently, there is no default way for Salesforce to count Duration (days)excluding Weekends and Public Holidays in a field.

The Idea for this feature has been posted since 2012 in

Based on my google search research, currently there is a way to achieve this function using Apex Trigger as you can see here. But this can only configured if we have knowledge about Apex Trigger and not ideal way for an Admin.

In this article, I would like to share how I achieve this without Apex at all and only using Opportunity Object and default Holidays Configuration Object. …



A dots connector Email:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store