---
title: "Duplicate customers in weclapp, merged by their owner | FlowRunner flow"
description: "When a new weclapp customer matches an existing one, this flow compares both records and their order history and asks your RevOps owner which one to keep."
url: https://flowrunner.ai/flows/weclapp-duplicate-customer-merge
date_published: 2026-11-14
date_modified: 2026-11-16T14:50:08-08:00
---

# Duplicate customers in weclapp, merged by their owner

When a new weclapp customer matches an existing one, this flow compares both records and their order history and asks your RevOps owner which one to keep.

## The prompt

When a new customer is created in weclapp, check whether we already have that customer under the same email or company name. If we do, compare the two records, count the quotations, orders and invoices on each, and ask our RevOps owner in Slack which one to keep, with a button for each record and a Not the same customer button. Wait for the answer. Copy any email, phone or website the kept record is missing from the other one, then delete the other one. If weclapp won't delete it because it's still in use, say so in the Slack thread and recommend deactivating it.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

## The flow

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/weclapp-duplicate-customer-merge.json)

-   [weclapp](https://flowrunner.ai/integrations/weclapp)
-   [Slack](https://flowrunner.ai/integrations/slack)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  New customer in weclapp Starts the moment a new party is created in weclapp and loads the full record, with its addresses, bank accounts, contacts and customer number.
2.  Pick the likely duplicate Looks for existing customers with the same email or a company name that contains the new one, and picks the likely duplicate. A new party that is not a customer is left alone, and with no match the run ends here.
3.  Compare the two records Loads the matching record, then an AI agent counts the quotations, sales orders and invoices on each record and lists where customer number, addresses, bank accounts, contacts, email and phone match or differ.
4.  Ask the RevOps owner Posts both records to Slack with their counts, the differences and a suggestion, and three buttons: keep the existing record, keep the new one, or Not the same customer.
5.  Wait for the RevOps owner's answer The run waits for the click. Not the same customer changes nothing and says so in the Slack thread.
6.  Merge into the record that stays Copies any email, phone or website the kept record is missing from the other one. Everything else on it stays as it was.
7.  Delete the duplicate Deletes the other record and replies in the Slack thread with which record stayed and which was deleted. weclapp will not delete a record that quotations, orders or invoices still use, so in that case the thread says to deactivate it in weclapp instead.

## Need a custom duplicate customer cleanup automation? Our team can build it for you.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=flows.aside&utm_term=weclapp-duplicate-customer-merge)

## Before you turn it on

-   Connect your Slack account, and enter your weclapp tenant and API token.
-   Add your Anthropic key in the flow setting Anthropic key.
-   Copy the URL of the block Wait for the RevOps owner's answer into the flow setting Answer link. The Slack buttons open it.
-   Pick your Slack channel in the four Slack steps.

[Everything FlowRunner does with weclapp](https://flowrunner.ai/integrations/weclapp)

---
Markdown version of https://flowrunner.ai/flows/weclapp-duplicate-customer-merge. Site index: https://flowrunner.ai/llms.txt
