# Simplesat

> Record and read Simplesat survey responses, keep customers and team members up to date, and send surveys by email.

App · 17 actions. Web page: https://docs.lodol.com/docs/integrations/simplesat

## Actions

### Create or update customer

Add a customer, or update the one with the same email address.

**Inputs**

- Email (`email`, text, required): The customer's email address.
- External ID (`external_id`, text): Your own ID for the customer, such as their ID in your help desk.
- Name (`name`, text): The customer's full name.
- Company (`company`, text): The customer's company.
- Language (`language`, text): The customer's language code, such as en.
- Tags (`tags`, list): Tags for the customer. These replace the tags they have.
- Custom attributes (`custom_attributes`, object): Custom attributes as names and values, such as Country and United States. These replace the ones they have.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "company": "Simplesat",
    "custom_attributes": {
      "City": "San Francisco",
      "Country": "United States"
    },
    "email": "tester@simplesat.io",
    "external_id": "1",
    "id": 25754952,
    "language": "en",
    "name": "Tester McTestFace",
    "tags": [
      "tag1"
    ]
  }
}
```

### Create or update customers

Add or update up to 1,000 customers at once, matched by email address.

**Inputs**

- Customers (`customers`, list, required): The customers, each with an email and, if you like, external_id, name, company, tags and custom_attributes.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "detail": "Customer(s) successfully scheduled to be updated or created.",
    "request_id": "0f8d7a4e-4a4b-4f1e-9e4a-2b0c3d4e5f60"
  }
}
```

### Create or update response

Record a survey response, for example one given outside Simplesat, with its customer, ticket and team members.

**Inputs**

- Survey (`survey_id`, number, required): The survey the response is for.
- Answers (`answers`, list, required): The answers, each with a question_id from List questions and a choice, choices or comment.
- Language (`language`, text): The response's language code, such as en.
- Given at (`created`, date and time): When the response was given, for responses you bring over from elsewhere.
- Tags (`tags`, list): Tags for the response. These replace its tags.
- Customer email (`customer_email`, text): The customer's email address. A customer with this email is linked, or created.
- Customer name (`customer_name`, text): The customer's name.
- Customer external ID (`customer_external_id`, text): Your own ID for the customer.
- Customer company (`customer_company`, text): The customer's company.
- Ticket ID (`ticket_external_id`, text): The ticket's ID in your help desk.
- Ticket subject (`ticket_subject`, text): The ticket's subject.
- Team members (`team_members`, list): The team members on the ticket. Each needs an email address.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "answers": [
      {
        "choice": "4",
        "choice_label": "Great, I'm satisfied",
        "choices": [
          "Option1"
        ],
        "comment": "Great service!",
        "follow_up_answer": "Thank you!",
        "follow_up_answer_choice": "yes",
        "follow_up_answer_choices": [
          "Option A"
        ],
        "follow_up_question": {
          "id": 2,
          "metric": "custom",
          "text": "Was there anything in particular we did that delighted you?"
        },
        "id": 1,
        "question": {
          "id": 1,
          "metric": "csat",
          "text": "How did we do?"
        },
        "sentiment": "positive",
        "topics": [
          {
            "description": "How quickly the team responded to the request.",
            "id": 1,
            "name": "Response time",
            "sentiment": "positive"
          }
        ]
      }
    ],
    "created": "2024-01-01T01:00:00Z",
    "customer": {
      "company": "Simplesat",
      "custom_attributes": {
        "City": "San Francisco",
        "Country": "United States"
      },
      "email": "tester@simplesat.io",
      "external_id": "1",
      "name": "Tester McTestFace",
      "tags": [
        "premium"
      ]
    },
    "id": 1,
    "ip_address": "192.168.1.1",
    "language": "en",
    "modified": "2024-01-01T01:00:00Z",
    "survey_id": 1,
    "tags": [
      "tag1"
    ],
    "team_members": [
      {
        "custom_attributes": {
          "Department": "Support"
        },
        "email": "tester@simplesat.io",
        "external_id": "1",
        "groups": [
          {
            "name": "Outsource BPO",
            "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
          }
        ],
        "is_primary": true,
        "name": "Tester McTestFace",
        "role": "Assignee"
      }
    ],
    "ticket": {
      "custom_attributes": {
        "Priority": "Medium"
      },
      "external_id": "12345",
      "id": 100,
      "subject": "Issue with product"
    }
  }
}
```

### Create or update team member

Add a team member, or update the one with the same email address.

**Inputs**

- Email (`email`, text, required): The team member's email address.
- External ID (`external_id`, text): Your own ID for the team member, such as their help desk ID.
- Name (`name`, text): The team member's name.
- Custom attributes (`custom_attributes`, object): Custom attributes as names and values, such as Department and Support. These replace the ones they have.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "custom_attributes": {
      "Department": "Support"
    },
    "email": "tester@simplesat.io",
    "external_id": "1",
    "groups": [
      {
        "name": "Outsource BPO",
        "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
      }
    ],
    "id": 1,
    "name": "Tester McTestFace"
  }
}
```

### Get answer

Get an answer by its ID.

**Inputs**

- Answer ID (`answer_id`, text, required): The answer's ID.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "choice": "4",
    "choice_label": "Great, I'm satisfied",
    "choices": [
      "Option1"
    ],
    "comment": "Great service!",
    "created": "2024-01-01T00:00:00Z",
    "follow_up_answer": "Thank you!",
    "follow_up_answer_choice": "yes",
    "follow_up_answer_choices": [
      "Option A"
    ],
    "id": 1,
    "modified": "2024-01-02T00:00:00Z",
    "published_as_testimonial": false,
    "question": {
      "id": 1,
      "metric": "csat",
      "text": "How did we do?"
    },
    "response_id": 1,
    "sentiment": "positive",
    "survey": {
      "id": 1,
      "name": "Follow-up CSAT"
    },
    "topics": [
      {
        "description": "How quickly the team responded to the request.",
        "id": 1,
        "name": "Response time",
        "sentiment": "positive"
      }
    ]
  }
}
```

### Get customer

Get a customer by their ID.

**Inputs**

- Customer ID (`customer_id`, text, required): The customer's ID.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "company": "Simplesat",
    "custom_attributes": {
      "City": "San Francisco",
      "Country": "United States"
    },
    "email": "tester@simplesat.io",
    "external_id": "1",
    "id": 25754952,
    "language": "en",
    "name": "Tester McTestFace",
    "tags": [
      "tag1"
    ]
  }
}
```

### Get response

Get a survey response by its ID, with its answers, customer, ticket and team members.

**Inputs**

- Response ID (`response_id`, text, required): The response's ID.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "answers": [
      {
        "choice": "4",
        "choice_label": "Great, I'm satisfied",
        "choices": [
          "Option1"
        ],
        "comment": "Great service!",
        "follow_up_answer": "Thank you!",
        "follow_up_answer_choice": "yes",
        "follow_up_answer_choices": [
          "Option A"
        ],
        "follow_up_question": {
          "id": 2,
          "metric": "custom",
          "text": "Was there anything in particular we did that delighted you?"
        },
        "id": 1,
        "question": {
          "id": 1,
          "metric": "csat",
          "text": "How did we do?"
        },
        "sentiment": "positive",
        "topics": [
          {
            "description": "How quickly the team responded to the request.",
            "id": 1,
            "name": "Response time",
            "sentiment": "positive"
          }
        ]
      }
    ],
    "created": "2024-01-01T00:00:00Z",
    "customer": {
      "company": "Simplesat",
      "custom_attributes": {
        "City": "San Francisco",
        "Country": "United States"
      },
      "email": "tester@simplesat.io",
      "external_id": "1",
      "id": 1,
      "name": "Tester McTestFace",
      "tags": [
        "premium"
      ]
    },
    "id": 1,
    "ip_address": "192.168.1.1",
    "language": "en",
    "modified": "2024-01-02T00:00:00Z",
    "source": "generic_embed",
    "survey": {
      "id": 1,
      "name": "Follow-up CSAT"
    },
    "tags": [
      "tag1"
    ],
    "team_members": [
      {
        "email": "tester@simplesat.io",
        "external_id": "1",
        "groups": [
          {
            "name": "Outsource BPO",
            "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
          }
        ],
        "id": 1,
        "is_primary": true,
        "name": "Tester McTestFace",
        "role": "Assignee"
      }
    ],
    "ticket": {
      "custom_attributes": {
        "Priority": "Medium"
      },
      "external_id": "12345",
      "id": 100,
      "subject": "Issue with product"
    }
  }
}
```

### Get team member

Get a team member by their ID.

**Inputs**

- Team member ID (`team_member_id`, text, required): The team member's ID.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "custom_attributes": {
      "Department": "Support"
    },
    "email": "tester@simplesat.io",
    "external_id": "1",
    "groups": [
      {
        "name": "Outsource BPO",
        "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
      }
    ],
    "id": 1,
    "name": "Tester McTestFace"
  }
}
```

### List customers

List your customers, filtered by when they were added or changed.

**Inputs**

- Added after (`created_after`, date and time): Only customers added after this time.
- Added before (`created_before`, date and time): Only customers added before this time.
- Changed after (`modified_after`, date and time): Only customers changed after this time.
- Changed before (`modified_before`, date and time): Only customers changed before this time.
- Subscribed (`subscribed`, true/false): Only customers who are (or aren't) subscribed to survey emails.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many to return on one page. From 1 to 250.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "count": 1,
    "customers": [
      {
        "company": "Simplesat",
        "created": "2025-01-01T00:00:00Z",
        "custom_attributes": {
          "City": "San Francisco",
          "Country": "United States"
        },
        "email": "tester@simplesat.io",
        "external_id": "1",
        "id": 25754952,
        "language": "en",
        "modified": "2025-09-26T10:28:57Z",
        "name": "Tester McTestFace",
        "subscribed": true,
        "tags": [
          "tag1"
        ]
      }
    ],
    "next": "https://api.simplesat.io/api/v1/customers?page=2&page_size=50",
    "previous": "https://api.simplesat.io/api/v1/customers?page=1&page_size=50"
  }
}
```

### List questions

List the questions in your surveys, with their IDs and choices.

**Inputs**

- Survey (`survey_id`, number): Only questions in this survey.
- Metric (`metric`, text): Only questions with this metric, such as csat.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many to return on one page. At least 1.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "https://api.simplesat.io/api/v1/customers?page=2&page_size=50",
    "previous": "https://api.simplesat.io/api/v1/customers?page=1&page_size=50",
    "questions": [
      {
        "choices": [
          "4"
        ],
        "id": 1,
        "metric": "csat",
        "order": 1,
        "rating_scale": true,
        "required": true,
        "rules": [
          {
            "action": "display_follow_up_question",
            "conditions": [
              "positive"
            ],
            "question": {
              "choices": [
                "yes"
              ],
              "id": 13,
              "required": false,
              "rules": [
                {
                  "action": "display_follow_up_question"
                }
              ],
              "text": "Was there anything in particular we did that delighted you?",
              "type": "comment"
            }
          }
        ],
        "survey": {
          "id": 1,
          "name": "Follow-up CSAT"
        },
        "text": "How did we do?",
        "type": "multipleChoice"
      }
    ]
  }
}
```

### List surveys

List your active surveys, newest first.

**Inputs**

- Name contains (`name`, text): Only surveys whose name contains this.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many to return on one page. At least 1.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "https://api.simplesat.io/api/v1/customers?page=2&page_size=50",
    "previous": "https://api.simplesat.io/api/v1/customers?page=1&page_size=50",
    "surveys": [
      {
        "brand_name": "Simplesat",
        "id": 1,
        "metric": "CSAT",
        "name": "Follow-up CSAT Survey",
        "survey_token": "z_3OxYijnEkfZSt6hLKxCRxBlu4CPQ9feLUAW4Eaen4",
        "survey_type": "generic_embed"
      }
    ]
  }
}
```

### Search answers

Find answers by date and by filters such as sentiment, metric or comment.

**Inputs**

- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many to return on one page. At least 1.
- From (`start_date`, date and time): Only answers given after this time.
- To (`end_date`, date and time): Only answers given before this time.
- Filters (`filters`, list): Filters, each with a key, a comparison and values, such as sentiment is positive.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "answers": [
      {
        "choice": "4",
        "choice_label": "Great, I'm satisfied",
        "choices": [
          "Option1"
        ],
        "comment": "Great service!",
        "created": "2024-01-01T00:00:00Z",
        "follow_up_answer": "Thank you!",
        "follow_up_answer_choice": "yes",
        "follow_up_answer_choices": [
          "Option A"
        ],
        "id": 1,
        "modified": "2024-01-02T00:00:00Z",
        "published_as_testimonial": false,
        "question": {
          "id": 1,
          "metric": "csat",
          "text": "How did we do?"
        },
        "response_id": 1,
        "sentiment": "positive",
        "survey": {
          "id": 1,
          "name": "Follow-up CSAT"
        },
        "topics": [
          {
            "description": "How quickly the team responded to the request.",
            "id": 1,
            "name": "Response time",
            "sentiment": "positive"
          }
        ]
      }
    ],
    "count": 1,
    "next": "https://api.simplesat.io/api/v1/customers?page=2&page_size=50",
    "previous": "https://api.simplesat.io/api/v1/customers?page=1&page_size=50"
  }
}
```

### Search responses

Find survey responses by date and by filters such as sentiment, customer email or tag.

**Inputs**

- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many to return on one page. At least 1.
- Given after (`created_start_date`, date and time): Only responses given after this time.
- Given before (`created_end_date`, date and time): Only responses given before this time.
- Changed after (`modified_start_date`, date and time): Only responses changed after this time.
- Changed before (`modified_end_date`, date and time): Only responses changed before this time.
- Filters (`filters`, list): Filters, each with a key, a comparison and values, such as sentiment is positive.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "https://api.simplesat.io/api/v1/customers?page=2&page_size=50",
    "previous": "https://api.simplesat.io/api/v1/customers?page=1&page_size=50",
    "responses": [
      {
        "answers": [
          {
            "choice": "4",
            "choice_label": "Great, I'm satisfied",
            "choices": [
              "Option1"
            ],
            "comment": "Great service!",
            "follow_up_answer": "Thank you!",
            "follow_up_answer_choice": "yes",
            "follow_up_answer_choices": [
              "Option A"
            ],
            "follow_up_question": {
              "id": 2,
              "metric": "custom",
              "text": "Was there anything in particular we did that delighted you?"
            },
            "id": 1,
            "question": {
              "id": 1,
              "metric": "csat",
              "text": "How did we do?"
            },
            "sentiment": "positive",
            "topics": [
              {
                "description": "How quickly the team responded to the request.",
                "id": 1,
                "name": "Response time",
                "sentiment": "positive"
              }
            ]
          }
        ],
        "created": "2024-01-01T00:00:00Z",
        "customer": {
          "company": "Simplesat",
          "custom_attributes": {
            "City": "San Francisco",
            "Country": "United States"
          },
          "email": "tester@simplesat.io",
          "external_id": "1",
          "id": 1,
          "name": "Tester McTestFace",
          "tags": [
            "premium"
          ]
        },
        "id": 1,
        "ip_address": "192.168.1.1",
        "language": "en",
        "modified": "2024-01-02T00:00:00Z",
        "source": "generic_embed",
        "survey": {
          "id": 1,
          "name": "Follow-up CSAT"
        },
        "tags": [
          "tag1"
        ],
        "team_members": [
          {
            "email": "tester@simplesat.io",
            "external_id": "1",
            "groups": [
              {
                "name": "Outsource BPO",
                "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
              }
            ],
            "id": 1,
            "is_primary": true,
            "name": "Tester McTestFace",
            "role": "Assignee"
          }
        ],
        "ticket": {
          "custom_attributes": {
            "Priority": "Medium"
          },
          "external_id": "12345",
          "id": 100,
          "subject": "Issue with product"
        }
      }
    ]
  }
}
```

### Send survey email

Email a survey to a customer, about a ticket and team member if you like.

**Inputs**

- Survey (`survey_token`, text, required): The survey to send. Only surveys sent by email after an event can be sent this way.
- Customer email (`customer_email`, text, required): The email address to send the survey to.
- Customer name (`customer_name`, text): The customer's name.
- Customer external ID (`customer_id`, text): Your own ID for the customer.
- Customer company (`customer_company`, text): The customer's company.
- Customer language (`customer_language`, text): The customer's language code, such as en.
- Customer attributes (`customer_attributes`, object): The customer's custom attributes as names and values.
- Team member email (`team_member_email`, text): The email address of the team member the survey is about.
- Team member name (`team_member_name`, text): The team member's name.
- Team member external ID (`team_member_id`, text): Your own ID for the team member.
- Ticket ID (`ticket_id`, text): The ticket's ID in your help desk.
- Ticket subject (`ticket_subject`, text): The ticket's subject.
- Ticket attributes (`ticket_attributes`, object): The ticket's custom attributes as names and values.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "detail": "Survey is scheduled to be sent"
  }
}
```

### Update answer

Change an answer's choice or comment by its ID.

**Inputs**

- Answer ID (`answer_id`, text, required): The answer's ID.
- Choice (`choice`, text): The new choice.
- Choices (`choices`, list): The new choices, for a question that takes several.
- Comment (`comment`, text): The new comment.
- Follow-up answer (`follow_up_answer`, text): The new answer to the follow-up question.
- Follow-up choice (`follow_up_answer_choice`, text): The new choice for the follow-up question.
- Follow-up choices (`follow_up_answer_choices`, list): The new choices for the follow-up question.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "choice": "4",
    "choice_label": "Great, I'm satisfied",
    "choices": [
      "Option1"
    ],
    "comment": "Great service!",
    "created": "2024-01-01T00:00:00Z",
    "follow_up_answer": "Thank you!",
    "follow_up_answer_choice": "yes",
    "follow_up_answer_choices": [
      "Option A"
    ],
    "id": 1,
    "modified": "2024-01-02T00:00:00Z",
    "published_as_testimonial": false,
    "question": {
      "id": 1,
      "metric": "csat",
      "text": "How did we do?"
    },
    "response_id": 1,
    "sentiment": "positive",
    "survey": {
      "id": 1,
      "name": "Follow-up CSAT"
    },
    "topics": [
      {
        "description": "How quickly the team responded to the request.",
        "id": 1,
        "name": "Response time",
        "sentiment": "positive"
      }
    ]
  }
}
```

### Update customer

Change a customer's details by their ID.

**Inputs**

- Customer ID (`customer_id`, text, required): The customer's ID.
- External ID (`external_id`, text): Your own ID for the customer, such as their ID in your help desk.
- Name (`name`, text): The customer's full name.
- Company (`company`, text): The customer's company.
- Language (`language`, text): The customer's language code, such as en.
- Tags (`tags`, list): Tags for the customer. These replace the tags they have.
- Custom attributes (`custom_attributes`, object): Custom attributes as names and values, such as Country and United States. These replace the ones they have.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "company": "Simplesat",
    "custom_attributes": {
      "City": "San Francisco",
      "Country": "United States"
    },
    "email": "tester@simplesat.io",
    "external_id": "1",
    "id": 25754952,
    "language": "en",
    "name": "Tester McTestFace",
    "tags": [
      "tag1"
    ]
  }
}
```

### Update response

Change a survey response by its ID.

**Inputs**

- Response ID (`response_id`, text, required): The response's ID.
- Survey (`survey_id`, number): The survey the response is for.
- Answers (`answers`, list): The answers, each with a question_id from List questions and a choice, choices or comment.
- Language (`language`, text): The response's language code, such as en.
- Given at (`created`, date and time): When the response was given, for responses you bring over from elsewhere.
- Tags (`tags`, list): Tags for the response. These replace its tags.
- Customer email (`customer_email`, text): The customer's email address. A customer with this email is linked, or created.
- Customer name (`customer_name`, text): The customer's name.
- Customer external ID (`customer_external_id`, text): Your own ID for the customer.
- Customer company (`customer_company`, text): The customer's company.
- Ticket ID (`ticket_external_id`, text): The ticket's ID in your help desk.
- Ticket subject (`ticket_subject`, text): The ticket's subject.
- Team members (`team_members`, list): The team members on the ticket. Each needs an email address.

**Outputs**

- `data` (object): The response from Simplesat.

**Example output**

```json
{
  "data": {
    "answers": [
      {
        "choice": "4",
        "choice_label": "Great, I'm satisfied",
        "choices": [
          "Option1"
        ],
        "comment": "Great service!",
        "follow_up_answer": "Thank you!",
        "follow_up_answer_choice": "yes",
        "follow_up_answer_choices": [
          "Option A"
        ],
        "follow_up_question": {
          "id": 2,
          "metric": "custom",
          "text": "Was there anything in particular we did that delighted you?"
        },
        "id": 1,
        "question": {
          "id": 1,
          "metric": "csat",
          "text": "How did we do?"
        },
        "sentiment": "positive",
        "topics": [
          {
            "description": "How quickly the team responded to the request.",
            "id": 1,
            "name": "Response time",
            "sentiment": "positive"
          }
        ]
      }
    ],
    "created": "2024-01-01T01:00:00Z",
    "customer": {
      "company": "Simplesat",
      "custom_attributes": {
        "City": "San Francisco",
        "Country": "United States"
      },
      "email": "tester@simplesat.io",
      "external_id": "1",
      "name": "Tester McTestFace",
      "tags": [
        "premium"
      ]
    },
    "id": 1,
    "ip_address": "192.168.1.1",
    "language": "en",
    "modified": "2024-01-01T01:00:00Z",
    "survey_id": 1,
    "tags": [
      "tag1"
    ],
    "team_members": [
      {
        "custom_attributes": {
          "Department": "Support"
        },
        "email": "tester@simplesat.io",
        "external_id": "1",
        "groups": [
          {
            "name": "Outsource BPO",
            "token": "iLA0X65ayqAgnnqnKSFuAwlgtiFGbt3gcN-L73SHNP0"
          }
        ],
        "is_primary": true,
        "name": "Tester McTestFace",
        "role": "Assignee"
      }
    ],
    "ticket": {
      "custom_attributes": {
        "Priority": "Medium"
      },
      "external_id": "12345",
      "id": 100,
      "subject": "Issue with product"
    }
  }
}
```
