Undo a merge
What it does
- Undo brings a merged company back as a new company in HubSpot, with its contacts, deals, tickets, notes, emails, calls, meetings and tasks.
- It works for 90 days after the merge. Only merges made after Undo was added can be undone.
- One merge or many. Undo sits on each merge. Undo all merges takes back everything at once, newest first.
- Admin only. An Admin starts an undo, the same profile that merges.
Where it lives
Open Duplicates. The Done card lists merges per day, newest first:
- Your merges, 17 Nov: every merge a person approved that day, in one row.
- Auto merge, 16 Nov: every merge auto merge made that day, in its own row.
Each row shows how many merges it holds, Undo until and Show merges. Its merges open in a table with Kept and Merged away.
How to use it
You need first
- Profile: Admin. A Non admin sees the Done card and no Undo buttons. See Profiles: Admin and Non admin.
- A merge made after Undo was added, inside 90 days. Older merges sit under Undo ended with no button.
- Tickets: to move tickets back, HubSpot must give Askling the optional ticket permissions. Without them tickets stay on the kept company and nothing fails. See Permissions.
- Know this: HubSpot has no unmerge. The company comes back with a new record ID. List memberships, workflow enrolments, old property history and stage history dates (Date entered and Date exited a stage) do not come back. For each date HubSpot sets to today, Askling saves the original in its own field on the company that comes back. See Which dates come back below.
Undo one merge
- Open Duplicates, then the Done card, and click Undo on the merge.
- In the dialog
Undo this merge?, read Comes back and Does not come back. - Click Undo merge.
- Optional: click Close.
- Askling keeps going. The row reads Undoing.
Check it worked: the dialog says Merge undone and Undone. <company> is back. with the counts that moved, for example 2 dates back. Open in HubSpot opens the new company.
Undo many merges
- Open Duplicates, then the Done card, and click Undo all merges.
- For one day, click Undo all 3 on that day's row instead. It takes only the merges of that row.
- Click All, Auto merge only or Since to pick which merges.
- The numbers change with your pick.
- Optional: untick Pause auto merge until I turn it on again.
- It shows only when auto merge is on, and it is ticked.
- Click Undo 11 merges.
- Optional: click Stop after this one. The merge it is on finishes, then it stops.
Check it worked: the dialog says Undo finished and 11 of 11 undone.
When a value changed since the merge
Askling does not overwrite what someone changed on the kept company. The dialog says 2 values changed since the merge. Every other step is finished.
- Open Duplicates, then the Done card, and click Waits for you on the merge.
- From the result of many merges, click Choose instead.
- For each value, click Keep or Put back.
- Keep is already picked.
- Click Finish undo.
Check it worked: the dialog says Merge undone.
When part of an undo did not work
The dialog says Partly undone. Worked lists what moved, Did not work lists what HubSpot refused.
- Open Duplicates, then the Done card, and click Partly undone on the merge.
- Click Try the rest again. Only what failed is tried again.
Check it worked: the dialog says Merge undone, or the same screen stays and the reason is in the audit log.
- A record someone moved is left where it is.
1 contact was moved to another company since. Left where it is. - A record linked to both companies keeps its link to the kept company and is also linked to the company that comes back.
- The pair is kept separate afterwards. Askling does not propose or merge it again.
- View snapshot stays in the dialog
Undo this merge?and on every row under Undo ended.
Which dates come back
| Date | Comes back? |
|---|---|
| Create date | Yes, when HubSpot lets an app set it and accepts it as the company is made again. Else it is the day of the undo |
| Became a dates, such as Became a customer date | Yes, when HubSpot lets an app set them. Askling sets them right after the company is made |
| Stage history dates: Date entered and Date exited a stage, Latest time in and Cumulative time in | No. HubSpot works them out itself and sets them to the day of the undo |
| Original create date, and a field per stage such as Original customer date | Yes, in Askling's own fields on the company that comes back, group Askling. Filled only for a date HubSpot set to today in its own field |
| Your own date properties and dates you can edit, such as Close Date | Yes, as ordinary values |
| Became a dates on the kept company that the merge changed | Yes, after its lifecycle stage is put back. When the stage cannot go back, they stay as they are |
| Create date of the kept company | Askling never changes it |
- Whether HubSpot lets an app set a date is HubSpot's own setting of that property. Askling reads it at the undo and never sends a date HubSpot marks read only. There is nothing to set up.
- Askling makes each original date field the first time an undo needs it. One field for the create date and one per lifecycle stage the company had, custom stages included. Nothing to set up.
- The result says where the dates are. When every date HubSpot set to today was saved, it says
Original dates saved in Askling fields. HubSpot sets its own dates to today. - A date with no original field is named after that line, for example
Became a Customer date did not come back.The result of many merges shows the same line. - When one original could not be saved, the result shows this line instead:
Stage history dates, HubSpot sets them to today. Create Date did not come back.The reason is in the audit log. Hold the pointer on 2 dates back to see which dates came back. - Askling only fills an empty field. A date someone typed in an original date field stays as it is.
- ICP analysis reads the original customer date. A customer that came back today still counts as a customer since its original date.
- A date that does not come back never stops the undo. The rest still finishes.
What it does not do
- It does not delete anything. Askling never deletes a company, contact, deal or ticket.
- It does not bring back the old record ID, list memberships, workflow enrolments or old property history.
- It does not bring back stage history dates (Date entered, Date exited, time in a stage) in HubSpot's own fields. HubSpot sets them to the day of the undo; the originals are in Askling's fields.
- It does not undo a merge after 90 days. The snapshot is removed then.
- It does not undo a merge whose kept company was merged again later. A later merge made in HubSpot itself cannot be undone here. Undo all merges takes Askling merges newest first.
- It does not undo a merge when HubSpot is connected to another account than the one the merge was made in.
- It does not run for a Non admin.
Why it works this way
HubSpot cannot split a merged company. So Askling saves a snapshot right before each merge: the property values of both companies and the ids of every linked record. Undo builds the company again from it, moves the records back, and puts back the values the merge changed.
The snapshot holds company values and record ids only. It never holds a contact's name, email or phone, or the text of a note, email, call or meeting. It is removed 90 days after the merge. See What Askling stores.
Common questions
Is there an Undo for merges? Yes, for 90 days, on the Duplicates page under Done. Only an Admin can use it.
Does the company come back with its old ID? No. HubSpot gives the new company a new ID. Links or reports that name the old ID need a look.
Does the company keep its create date and lifecycle dates? The create date and the Became a dates come back when HubSpot lets an app set them in your account. Date entered a stage does not: HubSpot sets it to the day of the undo. Askling saves the originals in its own fields: Original create date, and a field per stage such as Original customer date.
Do my own date fields come back? Yes. Your own date properties and dates you can edit, such as Close Date, come back as ordinary values. Only the dates HubSpot locks get an Askling field.
Can I undo all merges at once? Yes. Click Undo all merges. It goes newest first, one merge at a time, and Stop after this one stops it.
Why does one row hold merges I approved at different times? The Done card groups merges by day in your workspace's time zone, not by click. The number counts every merge of that day; Undo all 2 counts only the ones that can still be undone.
What happens to auto merge? With Pause auto merge until I turn it on again ticked, auto merge is switched off when the undo starts. Switch it on again in Auto merge.
Can I still see what each company held? Yes. View snapshot shows both companies before the merge, and Download JSON saves it. See How a merge works.
What if I close the dialog? The work keeps going. The row shows Undoing, Waits for you, Partly undone or Undone.
When something goes wrong
| Symptom | Cause | What to do |
|---|---|---|
The 90 days to undo this merge have passed, so the snapshot is gone. | The merge is older than 90 days | Nothing to do here. See more on this message |
This merge was made before undo existed, so Askling has no full snapshot of it. | The merge ran before Undo was added | Nothing to do here. See more on this message |
The kept company was merged again later, in Askling or in HubSpot. Undo that merge first; a merge made in HubSpot itself cannot be undone here. | The kept company took part in a newer merge | Undo the newer merge first. See more on this message |
Askling is paused, so nothing was changed. Resume Askling, then try again. | The kill switch is on | Resume Askling. See more on this message |
HubSpot refused part of the undo. The rest is done. Try the rest again. | HubSpot refused some records | Click Try the rest again. See more on this message |
The result says Stage history dates, HubSpot sets them to today. and an original date field is empty | Askling could not make the field, or HubSpot refused the value. Causes: no permission to create company fields, or a field with that name of another type | Read the reason in the audit log. Reconnect HubSpot when it asks for a permission, see Permissions. While the undo reads Partly undone, Try the rest again tries the empty fields again. After Undone, type the date into the field in HubSpot |
This day changed since you opened it. Close and check the list. | A merge joined that day, or one was undone, while the dialog was open | Click Cancel, check the day's row, and click Undo all again. See more on this message |
An undo of many merges is still working. Wait for it to finish, or stop it. | A second undo of many was started | Wait, or click Stop after this one. See more on this message |