Nuxa
Tools

Automation Recipes

Browserbase, Stagehand, E2B, search, and Twilio with simple flows.

Use these lightweight recipes to automate web tasks, run code, and message customers without writing glue code.

Browserbase/Stagehand handle browsers; E2B runs code in a sandbox; Serper/Exa handle web search; Twilio sends SMS/Voice.

1) Scrape & Enrich Leads

  • Blocks: Start β†’ Agent β†’ Browserbase/Stagehand β†’ Function (clean) β†’ Response.
  • Steps: Agent finds company URLs (Serper/Exa). Browserbase/Stagehand opens pages, grabs headline/contact info. Function normalizes fields. Response returns a CSV string or pushes to CRM.
  • Why SMBs like it: One-click weekly lead list without hiring a researcher.

2) Price Checker with Alerts

  • Blocks: Schedule β†’ Browserbase/Stagehand β†’ Agent β†’ Twilio SMS.
  • Steps: Schedule weekly. Browserbase visits product URLs, captures price text. Agent compares to target price. Twilio SMS sends β€œPrice dropped to $X” when triggered.
  • Why SMBs like it: Simple price-watch without engineers.

3) Knowledge Update from the Web

  • Blocks: Schedule β†’ Serper/Exa β†’ Browserbase β†’ Agent β†’ Knowledge Base.
  • Steps: Search for latest docs/blogs. Browserbase fetches top results. Agent summarizes key changes. Save summaries into your knowledge base for fresher answers.
  • Why SMBs like it: Keep FAQs current automatically.

4) Secure Code Execution (E2B)

  • Blocks: Start β†’ Agent β†’ E2B β†’ Response.
  • Steps: Agent writes a small script (e.g., transform CSV). E2B executes in an isolated sandbox. Response returns the result or error.
  • Tip: Validate input size and file type before sending to E2B.

5) SMS Status Updates

  • Blocks: API Trigger β†’ Agent β†’ Twilio SMS.
  • Steps: Receive {name, status, next_step}. Agent crafts a 2-sentence update under 320 chars. Twilio SMS sends to the customer.
  • Why SMBs like it: Fast, on-brand updates without hand typing.

6) Multi-step Research Pack

  • Blocks: Start β†’ Agent β†’ Serper/Exa β†’ Browserbase β†’ Agent (synthesis) β†’ Response.
  • Steps: Agent drafts search queries; Serper/Exa fetch results; Browserbase pulls details from top links; second Agent summarizes into bullet points with links.
  • Why SMBs like it: Human-quality briefs with sources in minutes.

Configuration Cheatsheet

  • Browserbase/Stagehand: Needs API key and start URL. Add CSS selectors or text anchors for the fields you want.
  • E2B: Choose the runtime; pass code + input. Keep payloads small (1-2 MB max).
  • Serper/Exa: Provide API key; set result count (5–10 is plenty for SMB use).
  • Twilio: Add account SID + auth token; verify sender number before sending.

Cost Awareness

  • Browserbase: ~$0.07/session.
  • E2B: ~$0.02/run.
  • Search: ~$0.002/query (Serper) or $0.01/query (Exa).
  • Twilio SMS: ~$0.01/message (country-dependent).
  • Track spend in Settings β†’ Subscription; all are shown in credits.