Přeskočit obsah

E-mail (IMAP/SMTP)

Konfigurace

integration:
  name: "EmailIntegration"
  type: "email"

  imap:
    host: "imap.example.com"
    port: 993
    security: "SSL"
    username: "{env:EMAIL_USER}"
    password: "{env:EMAIL_PASS}"
    folders:
      - "INBOX"
      - "INBOX/Support"

  smtp:
    host: "smtp.example.com"
    port: 587
    security: "TLS"
    username: "{env:EMAIL_USER}"
    password: "{env:EMAIL_PASS}"

  processing:
    # Automatické vytvoření leadu z e-mailu
    rules:
      - condition:
          from: "*@customer.com"
          subject: "contains:Servis"
        action:
          createEntity: "Lead"
          mapping:
            name: "{subject}"
            source: "Email"
            description: "{body}"
            emailAddress: "{from}"

      - condition:
          to: "support@company.com"
        action:
          createEntity: "Case"
          mapping:
            name: "{subject}"
            description: "{body}"

Pravidla zpracování

Podmínka Popis
from Adresa odesílatele (wildcard *)
to Adresa příjemce
subject Předmět (contains:, starts:, ends:)
body Tělo e-mailu

➡️ Pokračujte na WhatsApp.