Skip to content
eGestor logo

Connectors / ERP · HTTP Connector

Automate eGestor with Tray.ai

Create a contact, create a product and create a sale in eGestor. Connect eGestor to the rest of your ERP stack with Tray.ai.

What can you do with eGestor on Tray.ai?

eGestor is a Brazilian online ERP for small businesses, covering sales, stock, purchasing, receivables and payables, bank slips, Pix and electronic invoices (NF-e and NFS-e). Tray.ai connects to eGestor through the HTTP Connector, so your workflows can call the eGestor API alongside the rest of your stack.

  • Create a sale when your online store takes an order.
  • Generate an NF-e from a sale once your online store confirms payment.
  • Mark a receivable as received when your payment provider confirms the customer paid.
  • Create a contact for each new customer in your CRM.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://v4.egestor.com.br/api

Set it up

Connect eGestor to Tray.ai

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

Step 1

Save eGestor's API token

Save the token eGestor 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://v4.egestor.com.br/api as the base URL. Or paste a cURL example from eGestor's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List contacts”

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

Step 4

Hand it to an AI agent

Wrap “Create a contact” and “Get a contact” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Give your AI agents eGestor tools

Build an MCP server on eGestor 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

  • List contacts
  • List products
  • List sales
  • List receivables
  • List payments
  • List webhooks
  • Create a contact
  • Get a contact

What the eGestor API covers

6 resources and 23 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.

Contacts

  • List contacts
  • Create a contact
  • Get a contact
  • Update a contact
  • Delete a contact

Products

  • List products
  • Create a product
  • Get a product
  • Update a product
  • Delete a product

Sales

  • List sales
  • Create a sale
  • Get a sale
  • Delete a sale
  • Generate an NF-e from a sale

Receivables

  • List receivables
  • Create a receivable
  • Mark a receivable as received

Payables

  • List payments
  • Create a payment
  • Mark a payment as paid

Webhooks

  • List webhooks
  • Register a webhook

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

v4.egestor.com.br/www/api/docs

Frequently asked questions

What can a Tray.ai workflow do in eGestor?

+

The eGestor API documents 23 actions across 6 resources (Contacts, Products, Sales, Receivables, Payables, Webhooks). For example: List contacts; List products; List sales. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with eGestor?

+

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

See eGestor 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.