Written byAnkur Kaushik
If you’ve been looking through your Flows recently, you may have noticed a new element - Transform.
Salesforce has announced that it is approximately 10x faster than Loops. So before creating a flow with a loop, it’d be a good idea to check if it's something you can handle with a Transform.
The screenshot above shows an example of what the Transform element looks like. Using it is pretty straightforward - once you add it to your flow, select data source(s) and create a target source to be used later on in the flow.
In the following example, we have a collection of Contacts and want to retrieve all Campaign Members for those contacts. The old way would involve creating a loop, a text collection, and an assignment, looping over each Contact, and storing the Id into the text collection.
1. First, select the data source.
3. Next, click the circle next to the field you want to map to the Target. In this case it would be the Case Id.
That’s it! You’re now able to reference the Text collection in your flow.
This was a pretty basic example, but there are some interesting possibilities here.
Here’s some other examples to help get you started.
1. Use a Transform along with a Get Records in order to store all the Contacts’ email addresses for an Account. Then use the Send Email Flow action to cc them.If you have any Salesforce needs, let's talk! Whether you’re building new automations, optimizing existing flows, or exploring what's possible with elements like Transform, we've got the experience to back you up.
We're not just Flow fanatics, we're certified experts. Our team holds multiple Salesforce credentials including:
From complex integrations to custom implementations, we help businesses get the most out of their Salesforce investment.
Want a deeper look at how we approach Salesforce implementations? Check out our Salesforce Implementation Guide. It's packed with insights, tips, and real-world examples to help you get started.
Ankur believes in helping others and leaving a positive impact. As the Salesforce Lead, he works alongside clients every day to ensure they’re getting the most out of their CRM. A true sneakerhead at heart, Ankur collects only the freshest and cleanest-looking shoes to go with any outfit he wears. Outside of work, he loves trying new restaurants and traveling with friends.