Integrating two instances of Movidesk
8 min
Criado por Knowledge Engineering Team em 04/12/2020 15:32

On this page

Granting permission to integrate two Movidesk instances

Creating an interface with another Movidesk instance

Configuring the webhook trigger

Watch points

Creating a ticket in the other Movidesk instance

Associating tickets between instances

 

 

Integrate two Movidesk instances so you can more easily send tickets and receive updates from a team operating out of another Movidesk instance.

 

Granting permission to integrate two Movidesk instances

To grant a user permission to configure an interface between two Movidesk instances, go to Configurations > Access profiles and select the Access profile applied to the user. In the Access profile, go to the Configurations tab and select User can maintain integrations.

This permission will grant full access to create, edit, clone, and delete interfaces in the integration center.

Clipboard

Note After the Access profile is updated, the user may need to refresh their browser page before they are able to access Configurations > Integration center.

 

Creating an interface with another Movidesk instance

To create an interface with another Movidesk instance, go to Configurations > Integration center. Select the ✚ icon to create a new interface, enter a name for this interface, then select Movidesk as the integration type to begin the setup.

 

Authentication info

Enter the URL and API token of the other Movidesk instance.

Head with gears

Tip To find the token, sign into the other Movidesk instance and go to Configurations > Parameters. Under the Environment tab you will find the API token, which you can copy and paste into the interface settings.

 

Integration settings

Select whether to create tickets automatically by selecting Create issues automatically. Tickets will only be created automatically when the conditions defined in the Conditions section are satisfied.

If disabled, agents will be able to manually create a ticket in the other instance. They will also have the option to associate the ticket with an existing ticket in the other instance.

Clipboard

Note Agents will only be able to create or associate tickets in the other instance when the conditions in the Conditions section are satisfied.

 

Select whether to send all status updates. If disabled, only the current status when creating the ticket, and status updates that reopen the ticket, will be sent by the interface.

Select the default ticket creator in the other instance. This must be a user with a profile type of Agent registered in the other Movidesk instance.

Select how customers will be mapped between the two instances. They can be mapped by using either their reference codes or their email addresses as identifiers.

 

Conditions

Define ticket conditions to determine which tickets this interface can be applied to.

See the Conditions article for more information on how to configure conditions.

 

Value mapping

Map values between the two instances, including which custom fields for tickets are equivalent between the two instances.

Select the ✚ icon to add new value pairs, and the trashcan icon to remove mapped value pairs.

Clipboard

Note The user in Agent will be set as the assigned agent when the ticket is created in the other Movidesk instance. They do not need to be the same person as the assigned agent in the original ticket.

 

 

Configuring the webhook trigger

A webhook trigger will be created automatically when you save the interface, but there is one additional step required to complete the set up.

Go to Configurations > Triggers and open the trigger named Webhook for integration between Movidesk instances.

In the Actions section, replace “TOKEN” in the URL parameter with the API token of your own Movidesk instance. Note this is not the same token used in the Interface settings.

To find the token, go to Configurations > Parameters in your own Movidesk instance. Under the Environment tab you will find the API token, which you can copy and paste into the interface settings.

 

Watch points

Data in Category and Priority on the original ticket will only be sent over when the ticket is first created in the other Movidesk instance. Any subsequent changes to Category and Priority in the original ticket will not be sent to the other instance.

Data in custom fields on the original ticket will only be sent over when the ticket is first created in the other Movidesk instance. However, changes to the custom field in the other Movidesk instance will be sent over to the original ticket.

 

Creating a ticket in the other Movidesk instance

To create a ticket in another Movidesk instance, the original ticket in your instance must satisfy the conditions established in the Interface settings.

If automatic ticket creation is disabled, you can create a ticket in the other Movidesk instance by going to the ticket you want to mirror in the other instance. In the ticket form, select Create ticket inside the Movidesk box, which can be found below the Public and Internal ticket type buttons.

Update any of the mapped values if appropriate, then select Save to create the ticket in the other instance.

 

Associating tickets between instances

To associate a ticket with an existing ticket in another Movidesk instance, the original ticket in your instance must satisfy the conditions established in the Interface settings.

If automatic ticket creation is disabled, you can associate a ticket with an existing ticket instead of creating a new ticket in the other instance. In the ticket form of your ticket, select Associate ticket inside the Movidesk box, which can be found below the Public and Internal ticket type buttons.

Enter the ticket number of the ticket in the other instance and select Save to associate the two tickets.

Classifique este artigo
Últimos artigos visitados