I have a requirement in which when record gets approved in approval process, On final approval action an email sends to an user.

I have a visualforce page which is rendered as PDF I want that visualforce page attached to that email.

How can I achieve this.

Please help me out through this.


  • Here is a similar SFSE question. Hope this helps.
    – Saroj Bera
    Sep 2, 2015 at 5:59
  • I don't think you can do this out of the box, you need to implement apex logic using trigger.
    – Prakash
    Sep 2, 2015 at 6:05

1 Answer 1


You need to create a visualforce email template. Also change your existing VF page to apex:component Then include that in the messaging:attachment inside VF-Email template. See : Adding attachments to VF Email Templates

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.