Skip to content
Nightfall AI logo

Connectors / Security and compliance · HTTP Connector

Automate Nightfall AI with Tray.ai

Upload a file chunk and update a policy user scope in Nightfall AI, and start a workflow when Nightfall AI sends “File scan results ready”.

What can you do with Nightfall AI on Tray.ai?

Nightfall AI is a data loss prevention platform that finds sensitive data such as secrets, credit card numbers and health records in text, files and SaaS apps. Tray.ai connects to Nightfall AI through the HTTP Connector, so your workflows can call the Nightfall AI API alongside the rest of your stack.

  • When Nightfall AI sends “Text scan findings detected”, open a ticket for the security team in your service desk.
  • Scan plain text with Nightfall AI before support ticket notes are copied into your data warehouse.
  • When Nightfall AI sends “File scan results ready”, quarantine flagged files in your document storage.
  • Fetch violations from Nightfall AI daily and send a summary to your security team chat.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.nightfall.ai

Set it up

Connect Nightfall AI to Tray.ai

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

Step 1

Save Nightfall AI's API token

Save the token Nightfall AI issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token 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://api.nightfall.ai as the base URL. Or paste a cURL example from Nightfall AI's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Fetch violations”

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

Step 4

Start workflows from Nightfall AI events

Give Nightfall AI the URL of a Tray.ai webhook trigger. “File scan results ready” can then start a workflow, and so can 1 other event.

Workflows to build with Nightfall AI

Each one uses actions and events from Nightfall AI's own API documentation.

Alert security in Slack when sensitive text is detected

When

Text scan findings detected

Then

  1. Post the finding details to the security channel in Slack
  2. Create an issue in Jira to track the cleanup

With Slack and Jira

Scan new Zendesk tickets for sensitive data

When

A ticket is created in Zendesk

Then

  1. Scan plain text in Nightfall AI with the ticket body
  2. Add an internal note in Zendesk if findings come back

With Zendesk

Open Jira issues for new Nightfall AI violations

When

On a schedule

Then

  1. Search violations in Nightfall AI
  2. Create an issue in Jira for each new violation

With Jira

Apps you can build on Nightfall AI data

Internal tools your team can build with an AI assistant, each one using Nightfall AI calls from its API documentation.

Data leak violation queue

Lists violations with their findings and lets a security analyst annotate findings and take action.

Pre-share file scanner

Lets staff upload a file and see any sensitive data found before sharing it outside the company.

Give your AI agents Nightfall AI tools

Build an MCP server on Nightfall AI in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Scan plain text
  • Initiate a file upload
  • Fetch violations
  • Fetch violation findings
  • Update a policy user scope
  • Scan an uploaded file
  • Upload a file chunk
  • Complete a file upload

What the Nightfall AI API covers

5 resources and 14 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.

Scans

  • Scan plain text
  • Scan an uploaded file

File uploads

  • Initiate a file upload
  • Upload a file chunk
  • Complete a file upload

Violations

  • Fetch violations
  • Search violations
  • Fetch a violation
  • Take an action on violations

Findings

  • Fetch violation findings
  • Annotate a finding
  • Remove a finding annotation

Policies

  • Update a policy user scope
  • Update a policy domain scope

Events Nightfall AI can send to a Tray.ai webhook trigger

  • File scan results ready
  • Text scan findings detected

Checked against Nightfall AI's own documentation on 2026-10-22

help.nightfall.ai/developer-api/welcome-to-developer-apis…

Frequently asked questions

What can a Tray.ai workflow do in Nightfall AI?

+

The Nightfall AI API documents 14 actions across 5 resources (Scans, File uploads, Violations, Findings, Policies). For example: Scan plain text; Initiate a file upload; Fetch violations. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Nightfall AI?

+

The Nightfall AI API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Nightfall AI events can start a Tray.ai workflow?

+

Nightfall AI sends 2 events to a webhook URL, for example: File scan results ready; Text scan findings detected. A Tray.ai webhook trigger receives them and starts a workflow.

See Nightfall AI 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.