Skip to main content
These templates run batch statute lookups from a Google Sheet. One is for n8n (open source, self-hostable) and one is for Make.com (cloud, no-code).
Source: github.com/Vaquill-AI/integrations/n8n.

What you get

  • n8n-workflow.json: import into any n8n instance
  • make-blueprint.json: import into any Make.com scenario
  • A trigger on new rows in a Google Sheet, with matching sections written back
  • Retry on 429 and 5xx, and a stop on 402 (insufficient credits)
  • Per-query scoping by corpus or state through the request body
  • Paging for broad queries
Typical uses are batch statute search, due-diligence checklists, client-intake triage and scheduled monitoring.

Prerequisites

  1. A Vaquill AI account. Sign up at app.vaquill.ai.
  2. A Vaquill API key (vq_key_...). Generate one in Settings > API Keys. See Authentication.
  3. A Google account, for Google Sheets access.
  4. An n8n instance (cloud or self-hosted) or a Make.com account.

Google Sheet setup

Create a Google Sheet with the headers query, results, citations, jurisdiction and status in columns A to E of row 1. Put your queries in column A. Leave B to E empty. The automation fills them in. Example rows:

Vaquill API reference

Request body:
The endpoint rejects unknown fields such as jurisdiction. A trimmed successful response (200):
Each result has more fields than shown. See the Statutes Search API reference for the full response and filters, and Errors for status codes.

Quickstart

1

Import the workflow

  1. Open your n8n instance (cloud or self-hosted)
  2. Go to Workflows > Add Workflow
  3. Click the three-dot menu (top right) > Import from File
  4. Upload n8n-workflow.json from the repo
2

Add the Google Sheets credential

  1. Click the New Query Added node
  2. Under Credential to connect with, click Create New Credential
  3. Select Google Sheets OAuth2 API
  4. Complete the OAuth flow and save
3

Add the Vaquill API key credential

  1. Click the Vaquill Statutes Search node
  2. Under Credential to connect with, click Create New Credential
  3. Select Header Auth
  4. Set:
    • Name: Authorization
    • Value: Bearer vq_key_YOUR_ACTUAL_KEY
  5. Save
4

Point at your sheet

On the New Query Added, Write Answer to Sheet, and Write Error to Sheet nodes, select your spreadsheet and sheet (for example Sheet1).
5

Test and activate

  1. Add a test query to column A of your sheet
  2. Click Test Workflow
  3. Verify the matching sections appear in column B
  4. Toggle the workflow to Active for automatic processing
Workflow shape

Configuration

Scope by jurisdiction

Set corpusType to "USC" or "CFR" for federal sources. Set state (for example "ca", "ny", "tx") to restrict the search to one state. See API coverage for what is held.

Page through large result sets

For broad queries, raise the limit field and page through results:
Increase offset in steps of limit to fetch subsequent pages.

Rate-limit handling

  • n8n: the template retries on 429 and 5xx, up to 2 times at 5-second intervals.
  • Make.com: for large batches, add a Sleep module (for example 2 seconds) between iterations, or enable the error handler with retry.

Extending the workflow

Both templates can feed other nodes, such as Slack, email, Airtable or a webhook to your app.

Deployment

The same n8n-workflow.json imports into both n8n options.

Troubleshooting

Statutes Search API

The endpoint these templates call.

Authentication

Generate and rotate API keys.

GitHub

Template JSON files and issue tracker.
Last modified on November 11, 2026