send email with PDF using workflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Maximus
    replied
    Hello,
    Could you provide your Formula?
    Make sure you don't have the same automation flow in another place (Formula for another entity, Workflow, BPM, Hook).

    Leave a comment:


  • dreginald
    replied

    ext\email\send($emailId); is triggering mails twice. Can someone advise on how to correct. Using version 6.0.4

    Leave a comment:


  • dreginald
    replied
    Kindly suggest the script to attach more than one PDF Template in one e-mail.

    Leave a comment:


  • Maximus
    replied
    Hi there,
    Please check the log file in the /data/logs/ directory.
    Do you have configured SMTP connection in Administration -> Outbound Emails?

    Leave a comment:


  • vps
    replied
    Hi Yuri,
    I have tried the above formulas. Unfortunately no email is sent. Do you have any idea where the problem could be?

    Code:
    $attachmentId = ext\pdf\generate(
    'Mitarbeitergesprch', entity\attribute('id'), '6006c897352394a05', 'test.pdf'
    );
    
    $emailId = record\create('Email',
    'to', 'example@example.com',
    'attachmentsIds', list($attachmentId)
    );
    
    // applying email template
    ext\email\applyTemplate($emailId, '6006ea7bb32d8065d');
    
    ext\email\send($emailId);

    Leave a comment:


  • Vincent
    commented on 's reply
    Thank you!

  • Vincent
    commented on 's reply
    Thank you!

  • yuri
    replied
    With formula:

    https://docs.espocrm.com/administrat...extpdfgenerate
    https://docs.espocrm.com/administrat...-in-attachment

    You can put the script into Update Target Record action.
    Last edited by yuri; 05-27-2020, 10:30 AM.

    Leave a comment:


  • item
    replied
    Hello,



    there are new formula for send mail & pdf .. so just need create a workflow

    Leave a comment:


  • Vincent
    started a topic send email with PDF using workflow

    send email with PDF using workflow

    There are some entities (e.g invoice) support email PDF. Can i set a workflow to automate this action (using workflow to send invoice pdf)? thanks.
Working...