
Connectors / Finance · HTTP Connector
Automate BILL with Tray.ai
Create a vendor, create a bill and create a payment in BILL, and start a workflow when BILL sends “Vendor created”.
Thanks — someone from our team will be in touch soon.
What can you do with BILL on Tray.ai?
BILL is financial operations software for small and midsize businesses, handling accounts payable, accounts receivable, vendor payments, invoicing and spend management. Tray.ai connects to BILL through the HTTP Connector, so your workflows can call the BILL API alongside the rest of your stack.
- When BILL sends “Payment failed”, alert finance in your team chat with the vendor and amount.
- When BILL sends “Bill created”, open an approval task for the budget owner in your project tool.
- Create a vendor when procurement approves a new supplier in your purchasing system.
- Create an invoice in BILL for each closed-won deal in your CRM.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://gateway.prod.bill.com/connect/v3
Set it up
Connect BILL to Tray.ai
Each step uses BILL's own API details, from its documentation.
Step 1
Save BILL'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://gateway.prod.bill.com/connect/v3 as the base URL. Or paste a cURL example from BILL's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List vendors”
It's one of 22 documented actions, under Vendors. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from BILL events
Give BILL the URL of a Tray.ai webhook trigger. “Vendor created” can then start a workflow, and so can 7 other events.
What the BILL API covers
5 resources and 22 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.
Vendors
- List vendors
- Create a vendor
- Update a vendor
- Archive a vendor
Bills
- List bills
- Create a bill
- Update a bill
- Approve or deny a bill
- Archive a bill
Payments
- List payments
- Create a payment
- Create a bulk payment
- Record an AP payment
Customers
- List customers
- Create a customer
- Update a customer
- Archive a customer
Invoices
- List invoices
- Create an invoice
- Update an invoice
- Send an invoice
- Record an AR payment
Events BILL can send to a Tray.ai webhook trigger
- Vendor created
- Vendor updated
- Bill created
- Bill updated
- Payment updated
- Payment failed
- Invoice created
- Invoice updated
Checked against BILL's own documentation on 2026-10-22
How Tray.ai makes this work
BILL plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 9,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in BILL — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose BILL actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on BILL data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More finance apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every finance connector →
Frequently asked questions
What can a Tray.ai workflow do in BILL?
+
The BILL API documents 22 actions across 5 resources (Vendors, Bills, Payments, Customers, Invoices). For example: List vendors; List bills; List payments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with BILL?
+
The BILL 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.
Which BILL events can start a Tray.ai workflow?
+
BILL sends 8 events to a webhook URL, for example: Vendor created; Vendor updated; Bill created; Bill updated; Payment updated; Payment failed; Invoice created; Invoice updated. A Tray.ai webhook trigger receives them and starts a workflow.
See BILL working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.