Back to Catalog
Jose Castillo

Jose Castillo

Automation & Growth Engineer | Founder of Automation Hub I build practical, AI-powered workflows that help creators and businesses automate daily tasks, track performance, and make smarter decisions โ€” all without code. Passionate about turning complex systems into simple, scalable automations.

Total Views1,023
Templates3

Templates by Jose Castillo

Extract Business Emails from Google Maps Listings for Lead Generation

This workflow scrapes Google Maps business listings (e.g., carpenters in Tarragona) to extract websites and email addresses โ€” perfect for lead generation, local business prospecting, or agency outreach. ๐Ÿ”ง How it works Manual Trigger โ€“ start manually using the โ€œTest Workflowโ€ button. Scrape Google Maps โ€“ fetches the HTML from a Google Maps search URL. Extract URLs โ€“ parses all business links from the page. Filter Google URLs โ€“ removes unwanted Google/tracking links. Remove Duplicates + Limit โ€“ keeps unique websites (default: 100). Scrape Site โ€“ fetches each websiteโ€™s HTML. Extract Emails โ€“ detects valid email addresses. Filter Out Empties & Split Out โ€“ isolates each valid email per site. (Optional) Add to Google Sheet โ€“ appends results to your Sheet. ๐Ÿ’ผ Use cases Local business leads: find emails of carpenters, dentists, gyms, etc., in your city. Agency outreach: collect websites and contact emails to pitch marketing services. B2B prospecting: identify businesses by niche and region for targeted campaigns. ๐Ÿงฉ Requirements n8n instance with HTTP Request and Code nodes enabled. (Optional) Google Sheets OAuth2 credentials. Tip: Add a โ€œGoogle Sheets โ†’ Append Rowโ€ node and connect it to your account. ๐Ÿ”’ Security No personal or sensitive data included โ€” only credential references. If sharing this workflow, anonymize the โ€œcredentialsโ€ field before publishing.

Jose CastilloBy Jose Castillo
708

Employee time tracking system with GPT-4o reports & Gmail notifications

Overview This workflow acts as an AI-powered smart time tracker for employees or personal use. It records work sessions via a webhook, logs start/end/break times into n8n Data Tables, and uses OpenAI to automatically summarize working patterns and send reminders or monthly reports via Gmail. --- How It Works Webhook /track-time โ†’ Receives a POST request with a method (start, break, or end) and duration if applicable. Switch Logic โ†’ Directs the request to create or update the appropriate record in your Data Table. Data Tables โ†’ Store timestamps, break durations, and worker IDs in a secure local table. Schedule Triggers Daily (10:00) โ†’ Checks if todayโ€™s shift was not started and sends a reminder. Monthly (Day 1, 06:00) โ†’ Compiles last monthโ€™s working data and sends an AI report to management. OpenAI Analysis Summarizes working hours and productivity trends. Detects missed clock-ins or irregular patterns. Gmail Integration โ†’ Sends formatted daily or monthly reports to both employees and supervisors. --- Example Webhook Requests json Start work POST /track-time { "method": "start", "headers": { "id": "EMP001" } } Log a break POST /track-time { "method": "break", "duration": 15, "headers": { "id": "EMP001" } } End work POST /track-time { "method": "end", "headers": { "id": "EMP001" } } Example Email Output Subject: โ€œWorkday Summary โ€“ EMP001โ€ ๐Ÿ•’ Workday completed successfully Start: 09:00 Break: 15 minutes End: 17:45 AI Summary: Consistent work pattern detected this week. Consider shorter but more frequent breaks.

Jose CastilloBy Jose Castillo
210

Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail

Track your daily mood in one tap and receive automated AI summaries of your emotional trends every week and month. Perfect for self-reflection, wellness tracking, or personal analytics. This workflow logs moods sent through a webhook (/mood) into Data Tables, analyzes them weekly and monthly with OpenAI (GPT-4o), and emails you clear summaries and actionable recommendations via Gmail. โš™๏ธ How It Works Webhook โ€“ Mood โ†’ Collects new entries (๐Ÿ™‚, ๐Ÿ˜, or ๐Ÿ˜ฉ) plus an optional note. Set Mood Data โ†’ Adds date, hour, and note fields automatically. Insert Mood Row โ†’ Stores each record in a Data Table. Weekly Schedule (Sunday 20:00) โ†’ Aggregates the last 7 days and sends a summarized report. Monthly Schedule (Day 1 at 08:00) โ†’ Aggregates the last 30 days for a deeper AI analysis. OpenAI Analysis โ†’ Generates insights, patterns, and 3 actionable recommendations. Gmail โ†’ Sends the full report (chart + AI text) to your inbox. ๐Ÿ“Š Example Auto-Email Weekly Mood Summary (last 7 days) ๐Ÿ™‚ 5 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ ๐Ÿ˜ 2 โ–ˆโ–ˆโ–ˆโ–ˆ ๐Ÿ˜ฉ 0 Average: 1.7 (Positive ๐Ÿ™‚) AI Insights: Youโ€™re trending upward this week โ€” notes show that exercise days improved mood. Try keeping short walks mid-week to stabilize energy. ๐Ÿงฉ Requirements n8n Data Tables enabled OpenAI credential (GPT-4o or GPT-4 Turbo) Gmail OAuth2 credential to send summaries ๐Ÿ”ง Setup Instructions Connect your credentials: Add your own OpenAI and Gmail OAuth2 credentials. Set your Data Table ID: Open the Insert Mood Row node and enter your own Data Table ID. Without this, new moods wonโ€™t be stored. Replace the email placeholder: In the Gmail nodes, replace your.email@example.com with your actual address. Deploy and run: Send a test POST request to /mood (e.g. { "mood": "๐Ÿ™‚", "note": "productive day" }) to log your first entry. โš ๏ธ Before activating the workflow, ensure you have configured the Data Table ID in the โ€œInsert Mood Rowโ€ node. ๐Ÿง  AI Analysis Interprets mood patterns using GPT-4o. Highlights trends, potential triggers, and suggests 3 specific actions. Runs automatically every week and month. ๐Ÿ”’ Security No personal data is exposed outside your n8n instance. Always remove or anonymize credential references before sharing publicly. ๐Ÿ’ก Ideal For Personal mood journaling and AI feedback Therapists tracking client progress Productivity or self-quantification projects ๐Ÿ—’๏ธ Sticky Notes Guide ๐ŸŸก Mood Logging Webhook POST /mood receives mood + optional note. โš ๏ธ Configure your own Data Table ID in the โ€œInsert Mood Rowโ€ node before running. ๐ŸŸข Weekly Summary Runs every Sunday 20:00 โ†’ aggregates last 7 days โ†’ generates AI insights + emails report. ๐Ÿ”ต Monthly Summary Runs on Day 1 at 08:00 โ†’ aggregates last 30 days โ†’ creates monthly reflection. ๐ŸŸฃ AI Analysis Uses OpenAI GPT-4o to interpret trends and recommend actions. ๐ŸŸ  Email Delivery Sends formatted summaries to your inbox automatically.

Jose CastilloBy Jose Castillo
105
All templates loaded