Examples

Examples Library

See Contacted in action with these real-world examples. Each example showcases different capabilities, from simple notifications to complex multi-section emails with content images, data visualization, and rich formatting.

Note: Your company branding (logos, headers, footers) is automatically applied from your branding settings. These examples focus on email content and functionality.


Example 1: Welcome Email with Hero Image

Use Case: New user onboarding with engaging hero imagery Complexity: ⭐⭐⭐ Medium Features: Hero image placement, personalization, onboarding flow

Code

contacted.send(
    subject="Welcome to DevTools Pro - Let's get you started!",
    from_email="welcome@devtools.com",
    to_email="sarah.johnson@example.com",
    prompt="""
    Welcome email for a new DevTools Pro subscriber. Use welcome_hero as a prominent 
    banner image showcasing our platform. Include their subscription details and 
    next steps to get started. Keep the tone friendly and encouraging with clear 
    action items for getting started.
    """,
    data={
        "user_name": "Sarah Johnson",
        "company_name": "Acme Corp",
        "plan_name": "DevTools Pro",
        "monthly_price": "49",
        "trial_days": "14",
        "welcome_hero": "https://devtools.com/assets/welcome-hero.jpg",
        "dashboard_url": "https://app.devtools.com/dashboard",
        "support_url": "https://devtools.com/support",
        "setup_guide": "https://docs.devtools.com/getting-started"
    }
)

What makes this interesting:

  • Hero image integration that showcases the platform visually

  • Personalized onboarding with specific next steps

  • Clear value proposition with trial and pricing details


Example 2: E-commerce Order Confirmation

Use Case: Multi-item order with product images and shipping details Complexity: ⭐⭐⭐⭐ Medium-High Features: Multiple product images, pricing tables, shipping timeline

Code

contacted.send(
    subject="Order Confirmed #ORD-2025-7891 - Thank you Alex!",
    from_email="orders@techstore.com", 
    to_email="alex.chen@example.com",
    prompt="""
    Order confirmation email showing excitement and gratitude. Use success_banner 
    as celebration image at the top. Display each product with its image 
    (product_1_image, product_2_image, product_3_image) alongside quantities 
    and prices in a clear layout. Include shipping timeline with estimated 
    delivery and add order tracking information.
    """,
    data={
        "customer_name": "Alex Chen",
        "order_number": "ORD-2025-7891",
        "order_date": "June 15, 2025",
        "success_banner": "https://techstore.com/assets/order-success-banner.jpg",
        "product_1_name": "Wireless Noise-Cancelling Headphones",
        "product_1_image": "https://techstore.com/products/headphones-pro.jpg",
        "product_1_quantity": "1",
        "product_1_price": "299.99",
        "product_2_name": "Premium Phone Case",
        "product_2_image": "https://techstore.com/products/phone-case-leather.jpg", 
        "product_2_quantity": "2",
        "product_2_price": "24.99",
        "product_3_name": "Wireless Charging Pad",
        "product_3_image": "https://techstore.com/products/charging-pad.jpg",
        "product_3_quantity": "1", 
        "product_3_price": "49.99",
        "subtotal": "399.96",
        "shipping": "12.99",
        "tax": "32.79",
        "total": "445.74",
        "shipping_address": "123 Tech Street, San Francisco, CA 94102",
        "estimated_delivery": "June 18-20, 2025",
        "tracking_number": "TK789123456789",
        "tracking_url": "https://shipping.com/track/TK789123456789"
    }
)

What makes this interesting:

  • Multiple product images with coordinated pricing data

  • Visual celebration with success banner imagery

  • Complete order lifecycle from confirmation to tracking

  • Rich shipping details with timeline and tracking


Example 3: Security Alert - Password Reset

Use Case: Security-focused transactional email with clear urgency Complexity: ⭐⭐ Simple-Medium Features: Security messaging, time-sensitive content, clear CTAs

Code

contacted.send(
    subject="Password Reset Request - Action Required",
    from_email="security@cloudapp.com",
    to_email="jordan.smith@example.com", 
    prompt="""
    Password reset email with security focus. Emphasize that this link expires 
    in 20 minutes. Include details about the request (time, location, device) 
    for security transparency. Make the reset button prominent but also provide 
    instructions for users who didn't request this. Keep tone professional 
    and security-conscious.
    """,
    data={
        "user_name": "Jordan Smith",
        "user_email": "jordan.smith@example.com",
        "reset_link": "https://cloudapp.com/reset?token=abc123xyz789secure",
        "expiry_time": "20 minutes",
        "request_time": "June 15, 2025 at 2:47 PM PST",
        "request_location": "San Francisco, CA",
        "request_device": "Chrome on MacBook Pro",
        "ip_address": "192.168.1.100",
        "support_email": "security@cloudapp.com",
        "account_url": "https://cloudapp.com/account/security"
    }
)

What makes this interesting:

  • Security-first messaging with transparency details

  • Time-sensitive urgency with clear expiration

  • Trust-building elements like request details and IP tracking

  • Dual audience handling (legitimate users vs potential security threats)


Example 4: Event Invitation with Rich Media

Use Case: Professional conference invitation with detailed agenda and visuals Complexity: ⭐⭐⭐⭐⭐ High Features: Multiple content images, complex agenda data, speaker information

Code

contacted.send(
    subject="You're Invited: DevCon 2025 - The Future of Development",
    from_email="events@devcon.com",
    to_email="taylor.wilson@example.com",
    prompt="""
    Professional conference invitation. Use main_banner as hero image showcasing 
    the event atmosphere. Display speaker_grid highlighting key presenters.
    Create detailed agenda showing day_1_schedule and day_2_schedule with session 
    times and topics. Include venue_image with location details and amenities_graphic 
    showing what's included. Show pricing tiers with early bird savings. 
    Make registration prominent with multiple ticket options.
    """,
    data={
        "attendee_name": "Taylor Wilson",
        "event_name": "DevCon 2025: The Future of Development",
        "event_dates": "July 15-16, 2025",
        "main_banner": "https://devcon.com/assets/devcon-2025-hero.jpg",
        "speaker_grid": "https://devcon.com/assets/speakers-grid-2025.png",
        "venue_image": "https://devcon.com/assets/sf-convention-center.jpg",
        "amenities_graphic": "https://devcon.com/assets/conference-amenities.png",
        "venue_name": "San Francisco Convention Center",
        "venue_address": "747 Howard St, San Francisco, CA 94103",
        "day_1_schedule": "9:00 AM - Keynote: AI in Development, 10:30 AM - API Best Practices Workshop, 1:00 PM - Scaling Microservices Panel, 3:00 PM - DevOps Automation, 5:00 PM - Networking Reception",
        "day_2_schedule": "9:00 AM - Security in Modern Apps, 10:30 AM - Database Optimization, 1:00 PM - Cloud Native Architecture, 3:00 PM - Career Development Panel, 4:30 PM - Closing Ceremony",
        "keynote_speaker": "Dr. Sarah Kim, CTO of TechCorp",
        "featured_speakers": "Mike Johnson (Lead Developer, StartupXYZ), Lisa Wang (Product Manager, BigTech), Carlos Rodriguez (DevOps Engineer, CloudScale)",
        "regular_price": "399",
        "early_bird_price": "299",
        "student_price": "149",
        "early_bird_deadline": "June 30, 2025",
        "registration_url": "https://devcon.com/register/2025",
        "hotel_partner": "Grand Hyatt San Francisco",
        "hotel_discount": "20% off",
        "networking_events": "Welcome reception, developer showcase, closing party",
        "included_meals": "Gourmet lunch both days with dietary accommodations"
    }
)

What makes this interesting:

  • Rich visual storytelling with banners, speaker grids, and venue imagery

  • Complex multi-day agenda with detailed scheduling

  • Professional event marketing with amenities and logistics

  • Multiple content images serving different purposes

  • Comprehensive event information in digestible format


Example 5: Executive Business Report with Data Visualization

Use Case: Quarterly business review with charts and executive summary Complexity: ⭐⭐⭐⭐⭐ Very High Features: Multiple data charts, executive formatting, complex data presentation

Code

contacted.send(
    subject="Q2 2025 Business Review - Exceptional Growth Achieved",
    from_email="executive@growthco.com",
    to_email="board@growthco.com",
    prompt="""
    Executive quarterly business report email. Use q2_cover_image as report 
    cover showing key achievements. Insert revenue_chart prominently in 
    financial section and growth_metrics_chart in performance analysis. 
    Include market_comparison_chart for competitive positioning and 
    team_growth_visual in leadership section. Add executive_team_photo 
    with leadership message. Structure as: Executive Summary, Financial 
    Performance, Market Position, Team Highlights, and Strategic Outlook. 
    Professional tone throughout with clear data storytelling.
    """,
    data={
        "report_period": "Q2 2025",
        "company_name": "GrowthCo Industries",
        "q2_cover_image": "https://growthco.com/reports/q2-2025-cover.jpg",
        "revenue_chart": "https://growthco.com/charts/q2-revenue-breakdown.png",
        "growth_metrics_chart": "https://growthco.com/charts/quarterly-growth-metrics.png",
        "market_comparison_chart": "https://growthco.com/charts/market-position-analysis.png",
        "team_growth_visual": "https://growthco.com/charts/team-expansion-q2.png",
        "executive_team_photo": "https://growthco.com/photos/executive-team-q2.jpg",
        "total_revenue": "$2.4M",
        "revenue_growth": "34%",
        "new_customers": "847",
        "customer_retention": "94%",
        "market_share": "12.3%",
        "team_size": "67",
        "new_hires": "12",
        "product_launches": "3",
        "key_partnerships": "Microsoft, Amazon Web Services, Salesforce",
        "geographic_expansion": "Entered European market with London office",
        "next_quarter_projection": "$3.1M revenue target",
        "board_meeting_date": "July 8, 2025",
        "detailed_report_url": "https://reports.growthco.com/q2-2025-full-report",
        "investor_portal": "https://investors.growthco.com",
        "ceo_name": "Michael Chen",
        "cfo_name": "Jennifer Rodriguez",
        "cto_name": "David Kim"
    }
)

What makes this interesting:

  • Executive-level data visualization with multiple charts and infographics

  • Comprehensive business narrative combining quantitative and qualitative insights

  • Professional report formatting designed for bo

Last updated