[SalesForce] Using a collection of IDs to Get Records using FLOW

I am trying to Get multiple contacts from Flow by using a collection of IDs.

In the below image I am looping through each opportunity contact and adding the Contact Id to a collection.

Then I want to get all contacts whose IDs are in the collection.

enter image description here

In APEX this is pretty straight Forward. Is this something we can do in flow.

Best Answer

Flow Get Records cannot perform a single query using a collection of IDs -- you have to loop through the collection and get each record individually. If governor limits are an issue in your use case, you'll have to do this in Apex instead. You can also vote on this Idea.

Related Topic