Build your first automation
Get started building your first workflow automation on CodeWords by prompting.
Welcome to CodeWords! This tutorial will guide you through building your first workflow automation.
You’ll create a workflow that scrapes content from a web page, summarizes it with AI, and sends the summary to your Gmail inbox.
Building your first automation: web scraper and Gmail summarizer
Step 1: Describe your automation idea
Goal: Scrape a web page → summarize content with AI → send summary via Gmail.
User prompt example:
“Build a workflow that scrapes data from a URL and emails the summary to my Gmail.”
Cody’s planning process:
Cody checks for the available automation templates to see if any are similar.
Cody confirms whether you've already linked to the necessary app integrations.
An automation plan is generated:
Web scraping: Extract main text content from a target URL.
AI summarization: Generate a concise, easy-to-read summary.
Email composition: Create a formatted email with the summary.
Gmail delivery: Send the email directly to the user’s inbox.
Once you've given approval, Cody begins building.
Step 2: Cody builds the extraction module
What Cody builds:
Accepts a public URL as input.
Navigates to the web page and extracts the main text content.
Ignores ads, navigation, and sidebars for clean data.
Test Example:
Input:
https://www.nationalgeographic.com/science/article/ancient-dna-reveals-woolly-mammoths-final-years
Results:
Valid URL recognized
Page scraped successfully
1,200 words extracted
Content relevance
Step 3: Add AI summarization and Gmail delivery
What Cody adds:
Processes the extracted text with an AI summarization model.
Generates a 4-point summary of the article’s key findings.
Connects securely to Gmail using OAuth authentication.
Composes and sends an email with the title as the subject and the summary in the body.
Testing tesults:
Summary generated successfully
Gmail connection verified (
[email protected])Email formatted and delivered correctly
Step 4: Final workflow test
Goal: Validate the full automation end-to-end.
Cody runs the workflow:
The website is scraped successfully.
The AI-generated summary is concise and accurate.
The Gmail message is delivered with correct formatting and source link.
User confirmation:
You can tell Cody whether you're happy with the results, or whether there are still adjustments you'd like to make.
"Yes, it’s exactly what I wanted."
"I’d like to make adjustments."
Once confirmed, Cody deploys your automation.
Step 5: Deployment and automation URL
Cody provides a unique URL so you can access the run page of your automation:
https://codewords.agemo.ai/run/web-summarizer-automation-xyz789
You can run or modify your automation anytime by clicking Remix
Step 6: Troubleshooting guide
Website scraping issues
Invalid URL: Ensure the link is public and accessible.
Blocked content: Some sites prevent scraping. Try a simpler article-based site.
Empty results: The page might be image- or video-heavy.
AI summary issues
Low quality summary: Use more structured or factual content.
Adjust prompt: Ask for “3 bullet summary” or “1-paragraph summary.”
Gmail delivery issues
Permission error: Re-authenticate Gmail integration.
Email missing: Check spam/junk folder and whitelist sender.
Summary
You’ve successfully built your first end-to-end workflow automation with CodeWords, congratulations!
Here's what it does:
It accepts any public article URL as an input.
Next, it extracts the core text content automatically through web scraping.
Then, it generates an AI-powered summary highlighting the key insights.
Finally, it delivers the summary directly to your Gmail inbox, fully formatted and ready to read.
Your automation now combines real-time web data extraction, AI summarization, and email delivery — all created through natural language in just a few steps.
FAQs
Next steps
Now that you’ve finished the Quickstart, you can:
Last updated
Was this helpful?