[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [PennBid past bids](https://spiral.ai/integrations/n8n/pennbid-past-bids)

# How to Use PennBid past bids in n8n

Returns closed PennBid opportunity listings, including their closing times, status codes, and public-award flags. Use it to research previous solicitations and identify records with publicly posted awards.

|  |  |
| --- | --- |
| Model | PennBid past bids |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with PennBid past bids in n8n

- Every Monday, use PennBid past bids to find York County projects that closed during the previous week. Summarize their titles and public-award status.
- Every Friday, use PennBid past bids to review Yeadon Borough projects that closed in the last 90 days. Tell me which records now show a public award compared with last week's check.
- Every Monday at 9am: use PennBid past bids to look this up and give me the result as a table.
- Pull the latest numbers from PennBid past bids and tell me what changed since last week.
- Check PennBid past bids and summarize what you find in three bullet points.

## How to set up PennBid past bids 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 PennBid past bids in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds PennBid past bids, 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 PennBid past bids**: 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": "pennbid-bonfirehub-com/public-tenders/list_past_opportunities",
    "input": {
      "q": "<q>"
    }
  }'
```

Then paste one of the prompts above: n8n finds PennBid past bids on Spiral, shows the price and runs it.

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

## PennBid past bids tools and prices

- [PennBid (Bonfire) public procurement portal · List past opportunities](https://spiral.ai/tools/alexandria/pennbid-bonfirehub-com/public-tenders/list_past_opportunities) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| q |  | — | Case-insensitive substring matched against the project name and the reference (awarding agency / county) text. |
| limit | 1 to 200 | 50 | Page size applied locally (default 50). |
| offset | 0 to … | 0 | Zero-based position in the filtered, sorted list; pass `next_offset` from the previous page. |
| awarded |  | — | true keeps only projects with a public award (IsPublicAward), false only those without. |
| closed_to |  | — | Keep opportunities that closed at or before this UTC instant. A date alone means the end of that day (23:59:59Z). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?$. |
| status_id | 0 to … | — | Keep only this Bonfire ProjectStatusID (3, 4 and 5 observed on past projects). |

## What can you do with PennBid past bids in n8n?

Maintain a daily watchlist of PennBid solicitations and a record of changes to selected listings. A scheduled agent can flag approaching closing times and newly observed public-award flags for the procurement team.

### Prepare an agency procurement brief

Combine an agency's open solicitations with its past listings, then check selected projects individually. Give the team a dated list of current work and previous procurement activity.

### Research recurring purchases

Compare current and previous listings for work such as paving, sewer replacement, or treatment chemicals. Check individual records before describing similar titles as repeat purchases.

### Investigate possible rebids

Compare open project names with closed solicitations from the same agency. Review the corresponding listing records to build a shortlist of possible rebids for a procurement analyst.

### Map a contractor's local market

Build a county-level view of current and past public solicitations in a contractor's trade. Use agency references, project names, closing dates, and individual listing checks to organize the research.

### Build a public-award review queue

Collect closed listings with public-award flags and check selected records. Produce links for researchers to review the award notices on PennBid.

## Overview

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

## PennBid past bids in other agents

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

## More n8n guides

- [PennBid opportunity lookup](https://spiral.ai/integrations/n8n/pennbid-opportunity-lookup)
- [Public Purchase agency directory](https://spiral.ai/integrations/n8n/public-purchase-agency-directory)
- [PennBid open bids](https://spiral.ai/integrations/n8n/pennbid-open-bids)
- [Public Purchase agency open bids](https://spiral.ai/integrations/n8n/public-purchase-agency-open-bids)
- [PNCP tender search](https://spiral.ai/integrations/n8n/pncp-tender-search)
- [Public Purchase agency profile](https://spiral.ai/integrations/n8n/public-purchase-agency-profile)

## Questions about PennBid past bids in n8n

**Can n8n use PennBid past bids?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run PennBid past bids like any built-in tool.

**How much does PennBid past bids 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 PennBid past bids in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs PennBid past bids on its own Alexandria account.

**How long does it take to set up PennBid past bids in n8n?**

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

**Does n8n wait while PennBid past bids runs?**

PennBid past bids runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does PennBid cover only Pennsylvania?**

PennBid's current service-area page lists Delaware, Maryland, New York, Ohio, and Pennsylvania. These tools cover public listings on PennBid's Bonfire portal, without establishing complete procurement coverage for those states.

**Do these records include the full bid documents?**

The data provider reads listing records and explicitly excludes the opportunity detail page. PennBid places supporting documents and requested submission information on that separate details screen.

**When does an opportunity become closed?**

PennBid automatically closes the bidding period when the project's due date and time pass. Closing ends the period in which bidders can submit or alter their submissions.

**How soon after closing are bid results public?**

PennBid leaves the timing and content of public bid results to the agency manager. There is no single publication schedule that applies to every closed solicitation.

**Does a missing public award mean the project was never awarded?**

PennBid's awarding guide tells agencies to select Post Award Statement Publicly to publish an award statement. A listing without a public award therefore does not prove that the agency made no award.

