does anyone know if it is possible possible to trigger Conga action(generate document/send email with attachment/create attachment) from apex code - best would be trigger or batch. Example will be appreciated.

  • 1
    Have you looked at Conga Conductor? I've not used it but came across it recently: congamerge.com/products/composer/add-ons – Girbot Mar 10 '16 at 19:43
  • No, I am looking for free solution. As far as I know it was possible to use callout to generate document in conga 7 - but I can't achievw this in conga 8.... – Artur Kępczyński Mar 10 '16 at 19:48
  • 4
    (1) did you see success.salesforce.com/… ?; (2) Conga has superb support, have you asked them? – cropredy Mar 10 '16 at 20:08
  • 3
    Artur -- I 'love' "bothering" Conga Support because a) they are super friendly (and it is not bothersome to them) , b) they know tricks that aren't always documented and c) I learn something each time. Unlike support at say, Big Company X, where you might rather put pins through your eyes, Conga support is terrific - and if you are a licensed user, free. – cropredy Mar 13 '16 at 19:00
  • 1
    I totally would bother them , some of the folks there need to get on salesforce and start supporting salesforce cases right away. They are super technical and courteous. Do not waste your time waiting, contact them right away – Rao Mar 16 '16 at 18:55

According to @CongaPete in this thread: Run Conga Composer (release 8) in background mode via HTTP Callout, you cannot do this in Conga Composer 8. Instead, you can still use the Conga 7 endpoint https://www.appextremes.com/apps/conga/pm.aspx and the same querystring parameters.

One note, you will also need to use the old Conga 7 style merge syntax, not the new Text-Based Merge Fields.

I recommend the DS7=5 parameter as well.

  • Is it possible to this via trigger? I assume you will have to use a future method. But that is a asynchronous. And hence would not have the sessionID that conga needs. – RajeshShah Jul 3 '19 at 15:06

It is possible. You need to purchase the Conga Workflow package.

See info here: https://support.getconga.com/Conga_Composer/Conga_Workflow


No, it is not possible to do this in conga composer 8.

  • 2
    Please provide context to your answer. Some form of proof or documentation or explanation as to why that is the answer that should be selected. – zainogj Mar 19 '16 at 18:58

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.