RingCentral
You can use Zapier to create tickets in Gorgias when a customer calls you on RingCentral. We recommend setting up 3 zaps for different trigger events:
- When a call has ended.
- When a call is missed.
- When there's a new voicemail.
- When there's a new SMS received.
Setup instructions: Create a Gorgias ticket when a call has ended
- In your Gorgias account, go to Your Profile.
- Click on 'Rest API', and copy the base API URL, the username and the password.
- Create a Zap with the app RingCentral and 'Call Ended' as a trigger. The zap will run when this event happens in your RingCentral account.

- Add an action to the Zap and rename it 'Create Gorgias ticket'.
- Select the option 'Webhooks by Zapier' as the app.
- Select 'Custom request'.

- Now let's build your request:
- "Method:" POST
- "URL:" https://{{your base api url from step 2}}.gorgias.com/api/tickets (see above)
- "Data Pass-Through?:" No
- "Data:" (see code below)
- "Unflatten:" no
- "Basic Auth:" {{username from step 2}}|{{password from step 2}}
- "Headers:"
Content-Type
application/json
{
"subject": "Call from {from phone number from zap step 1} just ended",
"channel": "phone",
"via": "helpdesk",
"messages": [
{
"public": true,
"channel": "phone",
"status": "closed",
"from_agent": false,
"via": "helpdesk",
"source": {
"type": "phone",
"from": {
"address": "{from phone number from zap step 1}",
"name":"{from name from zap step 1}"
},
"to": [
{
"address": "{to phone number from zap step 1}",
"name": "{to name from zap step 1}"
}
]
},
"body_text": "A call has ended",
"body_html": "A call has ended"
}
]
}
Setup instructions: Create a Gorgias ticket when a call is missed
- In your Gorgias account, go to Your Profile.
- Click on 'Rest API', and copy the base API URL, the username and the password.
- Create a Zap with the App RingCentral and 'Missed Call' as a trigger. The zap will run when this event happens in your RingCentral account.
- Add an action to the Zap and rename it 'Create Gorgias ticket'.
- Select the option 'Webhooks by Zapier' as the app.
- Select 'Custom request'.

- Now let's build your request:
- "Method:" POST
- "URL:" https://{{your base api url from step 2}}.gorgias.com/api/tickets (see above)
- "Data Pass-Through?:" No
- "Data:" (see code below)
- "Unflatten:" no
- "Basic Auth:" {{username from step 2}}|{{password from step 2}}
- "Headers:"
Content-Type
application/json
{
"subject": "Missed call from {from phone number from zap step 1}",
"channel": "phone",
"via": "helpdesk",
"messages": [
{
"public": true,
"from_agent": false,
"channel": "phone",
"via": "helpdesk",
"source": {
"type": "phone",
"from": {
"address": "{from phone number from zap step 1}",
"name":"{from name from zap step 1}"
},
"to": [
{
"address": "{to phone number from zap step 1}",
"name": "{to name from zap step 1}"
}
]
},
"body_text": "Missed call from {from name from zap step 1}",
"body_html": "Missed call from {from name from zap step 1}"
}
]
}
Setup instructions: Create a Gorgias ticket when there's a new voicemail
- In your Gorgias account, go to Your Profile.
- Click on 'Rest API', and copy the base API URL, the username and the password.
- Create a Zap with the App RingCentral and 'New voicemail' as a trigger. The zap will run when this event happens in your RingCentral account.
- Add an action to the Zap and rename it 'Create Gorgias ticket'.
- Select the option 'Webhooks by Zapier' as the app.
- Select 'Custom request'.

- Now let's build your request:
- "Method:" POST
- "URL:" https://{{your base api url from step 2}}.gorgias.com/api/tickets (see above)
- "Data Pass-Through?:" No
- "Data:" (see code below)
- "Unflatten:" no
- "Basic Auth:" {{username from step 2}}|{{password from step 2}}
- "Headers:"
Content-Type
application/json
{
"subject": "Voicemail call from {from phone number from zap step 1}",
"channel": "phone",
"via": "helpdesk",
"messages": [
{
"public": true,
"from_agent": false,
"channel": "phone",
"via": "helpdesk",
"source": {
"type": "phone",
"from": {
"address": "{from phone number from zap step 1}",
"name": "{from name from zap step 1}"
},
"to": [
{
"address": "{to phone number from zap step 1}"
}
]
},
"body_text": "New voicemail",
"body_html": "<audio src=\"{messageContent from zap step 1}\" type=\"audio/mpeg\" controls=\"\"></audio>"
}
]
}
Note that in the case of the voicemail don't hesitate to also load the recording in a cloud storage system so your agents can access it outside of the RingCentral platform. See for instance an example set of actions set up in the Zap:

Setup instructions: Create a Gorgias ticket when a new SMS is received
- In your Gorgias account, go to Your Profile.
- Click on 'Rest API', and copy the base API URL, the username, and the password.
- Create a Zap with the App RingCentral and 'New SMS Received' as a trigger. The zap will run when this event happens in your RingCentral account.
- Add an action to the Zap and rename it 'Create Gorgias ticket'.
- Select the option 'Webhooks by Zapier' as the app.
- Select 'Custom request'.
- Now let's build your request:
- "Method:" POST
- "URL": https://{{your base api url from step 2}}.gorgias.com/api/tickets
- "Data Pass-Through?:" No
- "Data:" (see code below)
- "Unflatten:" no
- "Basic Auth:" {{username from step 2}}|{{password from step 2}}
- "Headers:"Content-Type
application/json
{
"subject": "New SMS from {from phone number from zap step 1}",
"channel": "sms",
"via": "helpdesk",
"messages": [
{
"public": true,
"from_agent": false,
"channel": "sms",
"via": "helpdesk",
"source": {
"type": "sms",
"from": {
"address": "{from phone number from zap step 1}"
},
"to": [
{
"address": "{to phone number from zap step 1}"
}
]
},
"body_text": "{message content from zap step 1}",
}
]
}