Go to Automation > Create a Flow
Add the ‘Lookup Contact’ step
Please, add the ‘Lookup Contact’ step under the ‘CRM’ section to your flow.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image1_bwV1JecS-1024x518.webp)
Configure the step
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image2_E7pRDq6z-507x1024.webp)
You can use various contact fields for the lookup condition.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image3_uis9MECb-1-507x1024.webp)
You can set multiple fields as conditions by clicking the ‘Add Field’ icon.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image4_2Gy3rlET-508x1024.webp)
Please, don’t use ‘Contact ID’ as the lookup option. This field is always unique for each contact.
You can set the relation between conditions.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image5_AR8gU91y-508x1024.webp)
For the dropdown ‘Action to take when Contact Matched’, please select the value ‘Delete existing older contact and keep the newest contact’.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image6_UMqe51nv-806x1024.webp)
Save the settings. Please connect all the steps, and publish the flow.
![](https://glidecampaign.com/wp-content/uploads/2023/05/Image7_17hBd3WZ-1024x513.webp)
Finally, add all contacts to this flow.