Engine configuration preview - service is planned and currently only in concept stage.
PoC - Sample configuration in YAML - Employee process usign our @sign document service
---## Based on this name we generate e-mail like## ppg-hire-person-xas@flow.func.ovhname: PPG Hire person## Only accept e-mail from domain RegExpdomain: .*@company-domain.comstages:## Start process, fetch from "subject" employee email and go to next step- name: Start processtype: in# TODO: think about triggers, next when etc? reminder? rulesproperties:- name: employeePrivateEmailvalueFrom: subject ## subject, from, to, cc, bcc, bodymatch: ^[A-z0-9._%+-]+@[A-z0-9.-]+\.[A-z]{2,}$## Send e-mail to employee with fillup e-mail template- name: Colect data from employee for documentstype: outto: "{{employeePrivateEmail}}"cc: "hr@company-domain.com"subject: "Fillup employee data process"waitFor:type: replyfrom: "{{employeePrivateEmail}}"template: |+Hi {{employeePrivateEmail}},To finish employee process please fillUp this e-mail form:[FirstName]:[LastName]:[Address]:[Do you want health private insurance yes/no]:[Date when you can start yyyy-mm-dd]:[ID Number]:and just reply to this e-mail.- name: Prepare documentstype: outto: "hr@company-domain.com"cc: "{{employeePrivateEmail}}"subject: "Please prepare employee documents to sign"waitFor:type: replyfrom: hr@company-domain.comtemplate: |+We collect data from {{employeePrivateEmail}},FirstName: {{FirstName}}LastName: {{LastName}}Address: {{Address}}Do you want health private insurance yes/no]: {{Do you want health private insurance yes/no}}Date when you can start yyyy-mm-dd]: {{Date when you can start yyyy-mm-dd}}ID Number: {{ID Number}}Please prepare documents in PDF format to sign and reply with attachment to this e-mail- name: Sign documentstype: outto: pdf@sign.func.ovh ## Our servicecc: "{{employeePrivateEmail}}, ceo@company-domain.com, hr@company-domain.com"subject: "Employee aggrement to sign"waitFor:- from: service@mail.func.ovhsubject: .*signed!type: 'reply'- name: Prepare e-mail account for employeetype: outto: domain@company-domain.comcc: "hr@company-domain.com"subject: "New e-mail account request"waitFor:- from: it@mail.func.ovhtype: 'reply'template: |+Hey,Please prepare e-mail account for {{employeePrivateEmail}}{{FirstName}}{{LastName}}and reply to this e-mail with new email address[NewCompanyEmailAddress]:- name: Add access to office doorstype: outto: it@company-domain.comcc: "hr@company-domain.com"subject: "New employee door access request"template: |+Hey,Please prepare card for doors for {{NewCompanyEmailAddress}}- name: Prepare welcome packtype: outto: hr@company-domain.comsubject: "Contract signed please onboard new employee"- name: Welcometype: outto: all@company-domain.comcc: "{{NewCompanyEmailAddress}}"subject: "Our team growth"template: |+Hey,From next month will join to us {{NewCompanyEmailAddress}}.Please send some sweet e-mail's for initiate new email box ;D
POC - Sample configuration of sales cold mailing
---name: Sales cold mail - en## Only accept e-mail from domain RegExpdomain: .*@company-domain.comstages:- name: Start processtype: inproperties:- name: leadEmailvalueFrom: subjectmatch: ^[A-z0-9._%+-]+@[A-z0-9.-]+\.[A-z]{2,}$- name: First trytype: outfrom: "sales@company-domain.com"to: "{{leadEmail}}"cc: "hr@company-domain.com"subject: "Company grows and no time for manage processes?"waitFor:- type: replyfrom: "{{leadEmail}}"action: stop- type: time ## instead of use "reminder!"value: 1wtemplate: |+Hi,Some sales brief of product- name: Second trytype: outfrom: "sales@company-domain.com"to: "{{leadEmail}}"cc: "hr@company-domain.com"subject: "Still no interested?"waitFor:- type: replyfrom: "{{leadEmail}}"action: stop- type: time ## instead of use "reminder!"value: 1wtemplate: |+Hi,Some sales brief of product #2- name: Second trytype: outfrom: "sales@company-domain.com"to: "{{leadEmail}}"cc: "hr@company-domain.com"subject: "Maybe sometime"waitFor:- type: replyfrom: "{{leadEmail}}"action: stop- type: time ## instead of use "reminder!"value: 1wtemplate: |+Hi,Some sales brief of product #3