Skip to main content
This guide walks you through creating your first autonomous agent with Twin. You’ll build an agent that visits a web page, extracts the relevant content, summarizes it using AI, and sends the result to your email — all without writing code.

Your First Twin Agent: Web Article Summarizer

Extract

Visit any web page and pull content

Summarize

AI-powered content summarization

Deliver

Send results to your email

Step 1: Planning in the Chat

Every Twin agent starts with a clear objective. Objective: Visit a web page → extract the main content → summarize it → send the summary by email. Example instruction you can give Twin:

Your prompt

“Go to a URL I provide, extract the article text, summarize the key points, and email me the summary.”
Once submitted, Twin interprets your request and proposes an execution plan before doing anything.
  • Identify the type of page (article-based website)
  • Navigate to the page and extract relevant text
  • Summarize the content using an AI model
  • Send the output via email
You can review and approve the plan before execution.

Step 2: Twin Agent Run — Extracts the Web Content

What the agent does:
1

Accept Input

Accepts a public URL as input
2

Open Page

Opens the page in a cloud browser environment
3

Identify Content

Identifies the primary article content
4

Clean Up

Excludes menus, ads, footers, and unrelated elements
Example test input:
https://www.nationalgeographic.com/science/article/ancient-dna-reveals-woolly-mammoths-final-years

Execution Outcome

  • Page accessed successfully
  • Article detected and parsed
  • ~1,200 words of relevant content extracted
  • Non-essential elements ignored
Twin behaves like a human browsing the page — but automatically and reliably.

Step 3: Summarization and Email Delivery

Once the content is extracted, Twin continues with the next steps in the workflow. What the agent adds:

AI Summarization

  • Runs extracted text through AI
  • Produces 3–5 bullet points
  • Concise and structured output

Email Preparation

  • Article title as subject
  • Summary in the body
  • Link to original source
Verification checks:
Summary quality validated
Email destination confirmed
Message formatting reviewed

Step 4: End-to-End Test

Twin runs the full agent from start to finish:

Test Results

  • Website is accessed and parsed correctly
  • Summary is clear, accurate, and readable
  • Email is delivered with proper formatting
At this point, you’re asked to confirm:
OptionAction
This works as expectedDeploy your agent
I’d like to tweakAdjust summary length, format, delivery method, etc.
Twin allows you to iterate before deploying.

Common Issues & Adjustments

IssueSolution
Page inaccessibleMake sure the URL is public
Blocked bot detectionSome sites prevent scraping. Try with another article.
Partial extractionTry article-style pages for best results
IssueSolution
Too long or too shortAdjust the summary instructions
Too abstractAsk for bullet points or factual highlights
IssueSolution
Authorization issuesReconnect your email account
Missing emailCheck spam or adjust sender settings

What You’ve Built

Congratulations!

You’ve created your first Twin agent that:
  • Accepts a public URL as input
  • Autonomously navigates and extracts web content
  • Summarizes information using AI
  • Delivers results via email
  • Runs reliably without manual intervention
Your automation now combines real-time web data extraction, AI summarization, and email delivery — all created through natural language in just a few steps.