# AskNicely integrations

> Call the AskNicely API from any Tray.ai workflow with the HTTP Connector.

**Canonical page:** https://tray.ai/connectors/asknicely-integrations/
**Categories:** Customer service
**Connects through:** HTTP Connector

## Overview

AskNicely is a customer experience platform that sends NPS and other surveys after service interactions and reports scores and feedback to frontline teams. Tray.ai connects to AskNicely through the HTTP Connector, so your workflows can call the AskNicely API alongside the rest of your stack.

## Use cases

### Surveys

Read and create surveys in AskNicely from any Tray.ai workflow. The AskNicely API covers calls such as send a survey and get a survey template.

- Send a survey
- Get a survey template
- Bulk add and send contacts

### Contacts

Read and delete contacts in AskNicely from any Tray.ai workflow. The AskNicely API covers calls such as get a contact and remove a contact.

- Get a contact
- Remove a contact
- Delete a contact for GDPR

### Responses

Read responses in AskNicely from any Tray.ai workflow. The AskNicely API covers calls such as get responses and get the NPS score.

- Get responses
- Get the NPS score

### Statistics

Read statistics in AskNicely from any Tray.ai workflow. The AskNicely API covers calls such as get sent statistics and get historical statistics.

- Get sent statistics
- Get historical statistics

## Challenges Tray.ai solves

### Keeping AskNicely credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store AskNicely credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the AskNicely API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the AskNicely API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to AskNicely?

Yes. Tray.ai connects to AskNicely through the HTTP Connector, which calls the AskNicely API directly. Any call the AskNicely API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with AskNicely?

The AskNicely API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated AskNicely connector?

AskNicely runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated AskNicely connector from the AskNicely API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
