AI AGENTS

Webhook-Triggered Deep Dive to Google Docs

Accepts a topic via webhook from any internal tool, runs a multi-pass deep research dive, and produces a long-form, sectioned report in Google Docs.

CategoryAI Agents
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerInbound webhook with topic and depthHTTP webhook
  • ActionFirst-pass landscape searchPerplexityPerplexity
  • ActionFetch full-text primary sourcesExa
  • ActionDraft sectioned long-form reportOpenAI
  • ActionCreate formatted Google DocGoogle DriveGoogle Drive
  • OutputReturn document URL in webhook response

What it does

Exposes a single webhook that any internal app, form, or button can hit with a topic and depth setting. It runs layered research and writes a long-form, multi-section report straight into Google Docs, then hands back the doc URL so the calling tool can link to it.

When to use it

Use this when you want research as a service other systems can call. For example, a request-a-report form, an internal Slack shortcut, or a project tool that needs to kick off analyst-grade write-ups programmatically.

How it works

  1. 1An inbound webhook delivers the topic, depth, and optional focus questions.
  2. 2Perplexity runs the broad first-pass search to map the landscape and surface subtopics.
  3. 3Exa fetches full-text primary sources for the subtopics worth going deep on.
  4. 4OpenAI drafts a sectioned report — overview, analysis per subtopic, risks, and a cited bibliography.
  5. 5A new Google Doc is created with the formatted report and shared per your default settings.
  6. 6The webhook response returns the document URL to the calling system.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PerplexitySearch-grounded answers with citations.
  3. 3
    Connect ExaNeural search across the web.
  4. 4
    Connect OpenAIModels, embeddings, files.
  5. 5
    Connect Google DriveDocs, sheets, slides, files.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.