Menu
Create Satisfaction Survey
Create a survey
POST
/api/satisfaction-surveysUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Create Satisfaction Survey action (under Satisfaction Surveys).
- Fill in the fields below, then reference the result from later steps as
{{createSatisfactionSurvey.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"customer_id": 120,
"ticket_id": 12,
"body_text": "Such speed, much pertinent.",
"created_datetime": "2019-11-16T15:59:41.966927",
"meta": {
"externalData": {
"id": 1234
}
},
"score": 2,
"scored_datetime": "2019-11-25T15:59:41.966927",
"sent_datetime": "2019-11-23T15:59:41.966927",
"should_send_datetime": "2019-11-23T15:59:41.966927"
}
Response
Returns 201 with an object. Read it in later steps with {{createSatisfactionSurvey.response.data.<field>}}.
{
"id": 1234,
"body_text": "Such speed, much pertinent.",
"created_datetime": "2019-11-16T15:59:41.966927",
"customer_id": 120,
"meta": {
"externalData": {
"id": 1234
}
},
"score": 2,
"scored_datetime": "2019-11-25T15:59:41.966927",
"sent_datetime": "2019-11-23T15:59:41.966927",
"should_send_datetime": "2019-11-23T15:59:41.966927",
"ticket_id": 12,
"uri": "string"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?