Skip to content
AskNicely logo

Connectors / Customer service · HTTP Connector

Automate AskNicely with Tray.ai

Send a survey in AskNicely. Connect AskNicely to the rest of your customer service stack with Tray.ai.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with AskNicely on Tray.ai?

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.

  • Send a survey when a ticket is solved in your help desk.
  • Delete a contact for GDPR when a deletion request is approved in your privacy tool.
  • Get the NPS score weekly and post it to your leadership team chat.
  • Bulk add and send contacts after each day's completed jobs in your field service system.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://{subdomain}.asknice.ly/api/v1

Set it up

Connect AskNicely to Tray.ai

Each step uses AskNicely's own API details, from its documentation.

Step 1

Save AskNicely's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://{subdomain}.asknice.ly/api/v1 as the base URL. Or paste a cURL example from AskNicely's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Get a survey template”

It's one of 11 documented actions, under Surveys. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Send a survey” and “Bulk add and send contacts” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

What the AskNicely API covers

4 resources and 11 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Surveys

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

Contacts

  • Get a contact
  • Remove a contact
  • Delete a contact for GDPR
  • List unsubscribed contacts

Responses

  • Get responses
  • Get the NPS score

Statistics

  • Get sent statistics
  • Get historical statistics

Checked against AskNicely's own documentation on 2026-10-22

asknicely.asknice.ly/help/apidocs/auth

Frequently asked questions

What can a Tray.ai workflow do in AskNicely?

+

The AskNicely API documents 11 actions across 4 resources (Surveys, Contacts, Responses, Statistics). For example: Send a survey; Get a contact; Get responses. A workflow can make any documented call through the HTTP Connector.

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.

See AskNicely working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.