---
name: mia:web-search
description: >
  Search the web, crawl pages, research companies, and find people using Exa AI
  via n8n webhooks. Use when the user says "search for", "look up", "research
  company", "find person", "crawl this page", "what's happening with",
  "/mia:web-search", or any request for web research, company intelligence,
  or people lookup.
---

# Web Search

Search and research via Exa AI through n8n webhook endpoints.

## Endpoints

Base URL: `https://n8n.przbadu.dev/webhook`

| Action | Method | Endpoint |
|--------|--------|----------|
| Web search | GET | /web-search?q=QUERY |
| Crawl page | GET | /web-crawl?url=URL |
| Company research | GET | /company-research?q=NAME |
| People search | GET | /people-search?q=NAME |

## Usage

```bash
# General search
curl -s 'https://n8n.przbadu.dev/webhook/web-search?q=latest+ruby+on+rails+updates' | jq .

# Company research
curl -s 'https://n8n.przbadu.dev/webhook/company-research?q=Acme+Corp' | jq .

# Crawl a specific page
curl -s 'https://n8n.przbadu.dev/webhook/web-crawl?url=https://example.com/article' | jq .

# People search
curl -s 'https://n8n.przbadu.dev/webhook/people-search?q=Jane+Doe+CEO' | jq .
```

## Presentation

- Lead with the answer, then supporting sources
- Include source URLs for verification
- For company research: overview, key people, recent news, financials (if available)
- Note: Requires Exa search workflows active in n8n (see docs/SETUP.md)
