Files
dify/app1_email_generator_app_description.md

2.3 KiB

Day1 Email Generator App

Description

Professional email marketing specialist and cultural communication expert that generates culturally appropriate thank you emails. Documentation and source can be found under the following link: https://drive.google.com/drive/folders/13IXNtJGFKZnBelD2caNwWF8qo8LAVnos?usp=sharing

Features

  • Culturally appropriate email generation
  • Multiple language support (English and Japanese)
  • Tone adaptation (formal, casual, enthusiastic, sincere)
  • Optional business opportunity suggestions
  • Personalized content based on specific contexts

Input Fields

  • Recipient Name: Name of the email recipient (required)
  • Reason for Thanks: Primary reason for the email (required)
  • Email Tone: Choose from formal, casual, enthusiastic, or sincere (required)
  • Language: English or Japanese (required)
  • Additional Details: Specific extra context to include (optional)
  • Your Name: Sender's name (required)
  • Include Business Opportunity Suggestion: Checkbox for upsell content (optional)

Language Guidelines

English Emails

  • Appropriate salutations (Dear, Hi, Hello based on formality)
  • Professional email structure
  • Clear subject lines
  • Proper closing (Best regards, Sincerely, Warmly, etc.)

Japanese Emails

  • Proper Japanese email structure:
    • Appropriate greeting (拝啓 for formal, こんにちは for casual)
    • Seasonal context when appropriate
    • Proper honorifics (様 for formal, さん for casual)
    • Appropriate closing (敬具 for formal, よろしくお願いします for casual)
  • Cultural nuances in expression

Output Format

Returns JSON object with:

  • subject: Email subject line
  • body: Complete email body with proper formatting
  • tone_analysis: Brief description of how the tone was implemented
  • cultural_notes: Any cultural considerations applied

Technology

  • Powered by GPT-4 model
  • Completion mode processing
  • Temperature: 0.7 for balanced creativity
  • Max tokens: 1000 for concise yet meaningful content

Special Instructions

  • Personalizes content based on specific reason for thanks
  • Keeps emails concise yet meaningful (150-300 words typically)
  • For upsell requests, suggests relevant opportunities naturally
  • Ensures all contact information and names are used correctly
  • Adapts formality levels based on relationship context