Fusión de la cuenta duplicada de un usuario



Editado 19 mar 2025


6

3

19 comentarios

Hi 1263082072929 

Could you let us know the outcome of your investigation with 5170086190618. We are also seeing occurences of the 'Permanently deleted user' on tickets with users that have since been merged.

We can't figure why.

Many thanks

Chad

0


Hola!
Posterior a la eliminación de el ID externo de un usuario es posible realizar la fusión de usuarios?

0


Hi Calvin! Could you please post the scripts?? Thanks!

0


Here's how I accomplished bulk user merges - 

  1. Start by exporting your users using the List users API endpoint. Reference on how to do this can be found here - https://developer.zendesk.com/api-reference/ticketing/users/users/#list-users. I dumped my users into zendesk-users.json. 
  2. Use jq or some other tool to filter your file to zendesk-users-filtered.json to only include "id" and "email" as these are your only relevant fields.
  3. Merge objects to include source-domain id, destination-domain id, and destination email. I decided to add logic to my script that skips merges for IDs that have a source-domain id but not a destination-domain id - this is to overlook merging of inactivated users who have null destination-domain id.
  4. Use Python to consume the JSON/CSV file you have to iterate through each object until all users are merged. Add output handling to show you that users have been merged into [destination email] - this will also show you if you tried to merge a user that is not an end user (eg. admin, staff, etc.)

I can post the scripts I created here if anyone wants to take a look. 

 

3


Hi 5170086190618

I'd like to take a closer look at this scenario; hence, I have sent you an email where we can continue working together. Kindly check your inbox for updates. Thanks!

0


After merging users, is it typical to see "Permanently deleted user" as the name for any ticket interactions on the merging user's activity?

0


Hi Viktor,
 
As of the moment, there's no native way to do this. But, you may check-out Zendesk Marketplace if there are app available for it. You may also check this: Smart End-Users Merge 
 
This is a third-party developed app though so I am not sure if it worked the same way as you prefer. Thank you!
 

0


Hello all,

we have our internal employees using Zendesk to submit various tickets as end users. Our company uses okta to sign into Zendesk and we use our company email (first.lastname)@ourcompany.com.

Recently we merged with another company and the employees are sending emails from their company email , which creates tickets for them as first.lastname@newcompany.com. Issue is that if they log into Zendesk Support via okta to view their tickets, they will not see their other tickets there.

 

Is there a way to automatically merge users (we have over 1000 and there are new coming ) so that if someone submits email from first.lastname@newcompany.com, it will be created under the (first.lastname)@ourcompany.com account?

 

Thank you

Viktor

0


Hello Khanh,

There isn't a bulk merge user option via the UI or via any API endpoints. The only way I can think to achieve merging users in an efficient and fast way is to script the Merge End users endpoint so it runs continuously until all merges have been done. 

We do not have samples though as this is considered custom code and would suggest seeking assistance with someone familiar in scripting.

0


Is it possible to merge users in bulk? or through a process that can address multiple users? We have a lot of contacts created through talk tickets that are missing emails, but some of them have email contacts already. Merging them 1 by 1 seems inefficient, and I'm hoping there is a better way. 


0


Iniciar sesión para dejar un comentario.