What you get
n8n-workflow.json- drop into any n8n instancemake-blueprint.json- drop into any Make.com scenario- Trigger on new rows in a Google Sheet, write matching statute sections back automatically
- Automatic retry on 429 / 5xx, graceful stop on 402 (insufficient credits)
- Scope each query by jurisdiction (US Code, CFR, or any of the 50 state codes) by editing the request body
- Page through results for broad queries
Use cases
- Batch statute search - drop 50 queries into a sheet, get matching US Code, CFR, and state sections in minutes
- Automated lookup pipelines - connect a form to Vaquill for instant statute citations
- Regulatory monitoring - schedule periodic queries against the monthly-refreshed statute corpus
- Due-diligence checklists - process compliance lookups in bulk
- Client-intake triage - route incoming statute questions through Vaquill, then forward results to your team
Prerequisites
- Vaquill account - sign up at app.vaquill.ai
- Vaquill API key (
vq_key_...) - generate in Settings > API Keys. See Authentication. - Google account - for Google Sheets access
- n8n instance (cloud or self-hosted) or a Make.com account
Google Sheet setup
Create a Google Sheet with these column headers in row 1:
Put your queries in column A. Leave B-E empty - the automation fills them in.
Example rows:
Vaquill API reference
Successful response (200):
See the Errors reference for the full list.
Option 1: n8n
Quickstart
1
Import the workflow
- Open your n8n instance (cloud or self-hosted)
- Go to Workflows > Add Workflow
- Click the three-dot menu (top right) > Import from File
- Upload
n8n-workflow.jsonfrom the repo
2
Add the Google Sheets credential
- Click the New Query Added node
- Under Credential to connect with, click Create New Credential
- Select Google Sheets OAuth2 API
- Complete the OAuth flow and save
3
Add the Vaquill API key credential
- Click the Vaquill Statutes Search node
- Under Credential to connect with, click Create New Credential
- Select Header Auth
- Set:
- Name:
Authorization - Value:
Bearer vq_key_YOUR_ACTUAL_KEY
- Name:
- 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 (e.g.
Sheet1) from the dropdowns.5
Test and activate
- Add a test query to column A of your sheet
- Click Test Workflow
- Verify the matching sections appear in column B
- Toggle the workflow to Active for automatic processing
Workflow shape
Option 2: Make.com
Quickstart
1
Import the blueprint
- Log in to make.com
- Click Create a new scenario
- Click the three-dot menu > Import Blueprint
- Upload
make-blueprint.json - Click Save
2
Connect Google Sheets
- Click the first module (Read Questions)
- Click Add next to Connection
- Sign in with Google and grant permissions
- Select your spreadsheet and sheet, and set Table Contains Headers to Yes
3
Add your Vaquill API key
- Click the second module (Call Vaquill statutes search API)
- Find the Authorization header
-
Replace
YOUR_VAQUILL_API_KEYwith your actual key:
4
Wire the writer
- Click the third module (Write Results Back)
- Verify the Google Sheets connection and select the same spreadsheet / sheet
- The response mapping is pre-configured:
- Column B (results): joined section titles
- Column C (citations): joined citations
- Column D (jurisdiction):
{{2.data.jurisdiction}} - Column E (status):
processed
5
Test and schedule
- Click Run once to test
- Check the sheet for results
- Click Schedule to enable automatic runs (e.g. every 15 minutes)
Configuration
Scope by jurisdiction
Change the request bodyjurisdiction field to target a specific code: "us" covers federal sources (the US Code and the CFR), and any state code (e.g. "ca", "ny", "tx") restricts the search to that state’s statutes. The corpus spans all 50 states, the US Code (54,855 sections across 53 titles), and the CFR (218,932 sections across 49 titles).
Page through large result sets
For broad queries, raise thelimit field and page through results:
offset in steps of limit to fetch subsequent pages.
Rate-limit handling
- n8n - the template retries automatically on 429 and 5xx (up to 2 retries with 5-second intervals)
- Make.com - add a Sleep module (e.g. 2 seconds) between iterations for large batches, or enable the built-in error handler with retry
Extending the workflow
Both templates compose with the rest of n8n / Make.com:Deployment
n8n self-hosted vs n8n Cloud
Either way, the same
n8n-workflow.json import works.
Make.com tiers
Make.com is cloud-only. The free tier covers ~1,000 operations per month, which is enough for small batches. Paid plans scale up. Make.com counts each HTTP module call and each sheet row read / written, so a single Vaquill search typically consumes 3 operations (read row, call API, write row).Troubleshooting
Related
Statutes Search API
The endpoint these templates call.
Authentication
Generate and rotate API keys.
GitHub
Template JSON files and issue tracker.

