[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Texas SmartBuy agency directory](https://spiral.ai/integrations/n8n/texas-smartbuy-agency-directory)

# How to Use Texas SmartBuy agency directory in n8n

Returns agency names and their ESBD search numbers. Use it to identify the right public buyer before researching its solicitations or purchase-order awards.

|  |  |
| --- | --- |
| Model | Texas SmartBuy agency directory |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Texas SmartBuy agency directory in n8n

- Each month, use Texas SmartBuy agency directory to check the returned names and agency numbers for the Texas Workforce Commission and Texas Department of Transportation. Report changes from the previous check.
- Every Monday at 9am: use Texas SmartBuy agency directory to look this up and give me the result as a table.
- Pull the latest numbers from Texas SmartBuy agency directory and tell me what changed since last week.
- Check Texas SmartBuy agency directory and summarize what you find in three bullet points.
- Pull the newest data from Texas SmartBuy agency directory and give me the result as a table.

## How to set up Texas SmartBuy agency directory in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Texas SmartBuy agency directory in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Texas SmartBuy agency directory, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Texas SmartBuy agency directory**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "txsmartbuy-gov/public-tenders/list_agencies",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Texas SmartBuy agency directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Texas SmartBuy agency directory tools and prices

- [Texas SmartBuy ESBD · List agencies](https://spiral.ai/tools/alexandria/txsmartbuy-gov/public-tenders/list_agencies) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Case-insensitive substring to filter agency names (e.g. 'Health'). |

## What can you do with Texas SmartBuy agency directory in n8n?

Produce a recurring Texas procurement or funding digest from ESBD records. A scheduled agent can repeat focused searches and compare returned notices, awards, and grant details with its previous results.

### Build a bid shortlist

Identify the buyer and commodity category, find relevant solicitations, review their scope, and compare related purchase-order awards before deciding which bids deserve attention.

### Prepare a public-buyer research brief

Resolve a Texas agency’s identity, organize its procurement notices by commodity code, and summarize recorded purchases alongside current requirements.

### Assess a new service category

Check which commodity codes match a proposed service, identify public buyers, and compare solicitation requirements with relevant award descriptions and vendors.

### Publish a procurement research bulletin

Organize notices and recorded awards by buyer and commodity category, then add scope summaries, deadlines, vendors, and links to supporting records.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Texas SmartBuy agency directory in other agents

- [Amp](https://spiral.ai/integrations/amp/texas-smartbuy-agency-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/texas-smartbuy-agency-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/texas-smartbuy-agency-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/texas-smartbuy-agency-directory)
- [Cline](https://spiral.ai/integrations/cline/texas-smartbuy-agency-directory)
- [Codex](https://spiral.ai/integrations/codex/texas-smartbuy-agency-directory)
- [Cursor](https://spiral.ai/integrations/cursor/texas-smartbuy-agency-directory)
- [Devin](https://spiral.ai/integrations/devin/texas-smartbuy-agency-directory)
- [dots](https://spiral.ai/integrations/dots/texas-smartbuy-agency-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/texas-smartbuy-agency-directory)
- [Gemini](https://spiral.ai/integrations/gemini/texas-smartbuy-agency-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/texas-smartbuy-agency-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/texas-smartbuy-agency-directory)
- [goose](https://spiral.ai/integrations/goose/texas-smartbuy-agency-directory)
- [Grok](https://spiral.ai/integrations/grok/texas-smartbuy-agency-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/texas-smartbuy-agency-directory)
- [Hermes](https://spiral.ai/integrations/hermes/texas-smartbuy-agency-directory)
- [Instinct](https://spiral.ai/integrations/instinct/texas-smartbuy-agency-directory)
- [Manus](https://spiral.ai/integrations/manus/texas-smartbuy-agency-directory)
- [Muse](https://spiral.ai/integrations/muse/texas-smartbuy-agency-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/texas-smartbuy-agency-directory)
- [Notion](https://spiral.ai/integrations/notion/texas-smartbuy-agency-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/texas-smartbuy-agency-directory)
- [opencode](https://spiral.ai/integrations/opencode/texas-smartbuy-agency-directory)
- [Perplexity](https://spiral.ai/integrations/perplexity/texas-smartbuy-agency-directory)
- [Raycast](https://spiral.ai/integrations/raycast/texas-smartbuy-agency-directory)
- [VS Code](https://spiral.ai/integrations/vscode/texas-smartbuy-agency-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/texas-smartbuy-agency-directory)
- [Zapier](https://spiral.ai/integrations/zapier/texas-smartbuy-agency-directory)

## More n8n guides

- [Texas Comptroller sales tax permit search](https://spiral.ai/integrations/n8n/texas-comptroller-sales-tax-permit-search)
- [Texas SmartBuy award details](https://spiral.ai/integrations/n8n/texas-smartbuy-award-details)
- [Texas Comptroller sales tax permit holder](https://spiral.ai/integrations/n8n/texas-comptroller-sales-tax-permit-holder)
- [Texas SmartBuy award search](https://spiral.ai/integrations/n8n/texas-smartbuy-award-search)
- [Texas Comptroller sales tax outlets](https://spiral.ai/integrations/n8n/texas-comptroller-sales-tax-outlets)
- [Texas SmartBuy commodity codes](https://spiral.ai/integrations/n8n/texas-smartbuy-commodity-codes)

## Questions about Texas SmartBuy agency directory in n8n

**Can n8n use Texas SmartBuy agency directory?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Texas SmartBuy agency directory like any built-in tool.

**How much does Texas SmartBuy agency directory cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use Texas SmartBuy agency directory in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Texas SmartBuy agency directory on its own Alexandria account.

**How long does it take to set up Texas SmartBuy agency directory in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Texas SmartBuy agency directory runs?**

Texas SmartBuy agency directory runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**What does the award search cover?**

It covers the ESBD section labeled Awards No Solicitations. An empty result there does not establish that an agency has never awarded a contract.

**How many solicitation results fit on a page?**

The documented solicitation search response uses pages of 24 results and includes pagination metadata. A single page should not be treated as the complete search.

**What timing information does ESBD show?**

Solicitation results show a response due date and time, a posting date, and a last-updated timestamp. These distinguish the submission deadline from when the notice was posted or changed.

**What can I learn from a grant’s details?**

Published grant details can include eligibility, funding amounts, and an agency contact. Use those details to assess the opportunity beyond its search listing.

**How are Texas procurement commodity codes structured?**

NIGP codes use three digits for the general class and two more for the item. The class identifies a broader category than the full class-item code.

