app:
  description: 銀行（メガバンク）向け：法人向けの丁寧な英語ビジネスメールを下書きします。
  icon: 🏦
  icon_background: '#FFEAD5'
  mode: workflow
  name: 法人向け英語ビジネスメール作成
  use_icon_as_answer_icon: false
kind: app
version: 0.6.0
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      image:
        enabled: false
    opening_statement: ''
    suggested_questions: []
    suggested_questions_after_answer:
      enabled: false
    text_to_speech:
      enabled: false
  graph:
    edges:
    - data:
        sourceType: start
        targetType: llm
      id: start-to-llm1
      source: start
      target: llm1
    - data:
        sourceType: llm
        targetType: end
      id: llm1-to-end
      source: llm1
      target: end
    nodes:
    - data:
        title: 開始
        type: start
        variables:
        - label: query
          max_length: 2048
          options: []
          required: true
          type: paragraph
          variable: query
      height: 90
      id: start
      position:
        x: 80
        y: 282
      type: custom
      width: 244
    - data:
        title: 英語メール作成（LLM）
        type: llm
        model:
          provider: openai
          name: gpt-5-mini
          mode: chat
          completion_params:
            temperature: 0.6
        prompt_template:
        - role: system
          text: 'You are an expert corporate English business writer for a major bank.
            Produce a polite, professional email in English suitable for corporate
            (B2B) clients. Follow these rules: 1) Provide a clear, concise Subject
            line. 2) Provide a formal email body with an opening greeting, a clear
            explanation of the purpose, any necessary specifics (dates, amounts, next
            steps) as placeholders, a polite closing and signature. 3) Use a respectful,
            corporate tone appropriate for a megabank addressing corporate clients.
            4) When appropriate, include placeholders like [ClientName], [Company],
            [Date], [Amount]. 5) Keep the length concise unless the user explicitly
            asks for more detail. 6) Return the result as plain English text containing
            the Subject and Body sections.'
        - role: user
          text: 'Request: {{#start.query#}}


            Please draft an English business email (corporate audience) based on the
            request above. Ensure Subject and Body are clearly labeled. Use polite/formal
            business tone and include placeholders where specific details are needed.'
        vision:
          enabled: false
        memory: null
        context:
          enabled: false
      height: 90
      id: llm1
      position:
        x: 380
        y: 282
      type: custom
      width: 244
    - data:
        title: 終了
        type: end
        outputs:
        - value_selector:
          - llm1
          - text
          variable: result
      height: 90
      id: end
      position:
        x: 680
        y: 282
      type: custom
      width: 244
  hash: null
