Third-Party Integration

3Dolphins support for external integration with third-party omnichannel. Below is the default architecture and configuration to support integration between 3dolphins and third-party omnichannel.

Third-Party Integration Workflow

Properties Configuration

Additional properties setup in 3dolphins server to enable third-party integration.

Incoming Event

Below table is a list of fields that will be sent from 3dolphins Engine to third-party that will be integrated.

These fields will be presented in JSON format.

Below sample JSON for Incoming Event from 3Dolphins to third-party:

{
	"ticketNumber":"294c9ea88f7e649f8c37ae895ebab247",
	"channel":"whatsapp",
	“accountId”:”628128778222”
	"contactId":"d61d77735f3fe08bcf6d6b96fa06ba9d"
	"messageType":"text",
	"message":"Halo",
	"mediaLink":"",
	"customerName":"Farhan Akbar",
	"createdDate":"2021-04-28T15:39:37.945"
	"owner":"82ab0fd5cfd1e80d1ff97c0cfc9aaaa",
	"groupId":"",
	"language":""
}

Outgoing Event

Below table is a list of fields that are required from third-party to send post messages to the 3dolphins platform. Messages will be delivered to customers based on a given ticket number.

These fields will be presented in JSON format.

Below sample JSON for Outgoing Event from 3Dolphins to third-party:

{
	"ticketNumber":"294c9ea88f7e649f8c37ae895ebab247",
	"channel":"whatsapp",
	"messageType":"text",
	"message":"Selamat Datang Customer",
	"mediaLink":"",
	"customerName":"Farhan Akbar",
	"createdDate":"2021-04-28T15:39:37.945"
	"owner":"82ab0fd5cfd1e80d1ff97c0cfc9aaaa"
}

Below sample JSON response from webhook:

{
	"status":"success"
}

Command Event

Below table is a list of fields that are required from third-party to send any updated ticket status to the 3dolphins platform.

These fields will be presented in JSON format.

Below sample JSON for Command Event from 3Dolphins to third-party:

{
	"ticketNumber":"294c9ea88f7e649f8c37ae895ebab247",
	"channel":"whatsapp",
	"owner":"82ab0fd5cfd1e80d1ff97c0cfc9aaaa"
	"event":"Close"
}

Below sample JSON response from webhook:

{
	"status":"success"
}

Scopes

  1. Conversation history needs can use 3Dolphins Conversation History API.

  2. Sticker message format will be converted into 'Sticker' text.

  3. Third-Party may use 3Dolphins Contact API to get customer data based on contactId in Incoming.

Last updated