This topic contains 8 replies, has 0 voices, and was last updated by Jochen 7 years, 6 months ago.
-
AuthorPosts
-
December 7, 2016 at 1:09 pm #10340
eleranI have setup a workflow to automate emailing of invoices and credits to certain customers. I would like to have the email include the transaction number within the subject line of the email itself. How could I achieve that?
This is a cached copy. Click here to see the original post. -
December 7, 2016 at 1:15 pm #10341
torin@aminian.comYou should be able to include an email tag in the subject line. Try inputting ${documentnumber} or ${number} in the subject line when editing the workflow and send a test email.
-
December 7, 2016 at 6:10 pm #10342
k_duncOne slight clarification here, depending on which type of email you’ve created in your Workflow (either Use Template or Custom), will depend on whether you need to use the “$” or not. In ‘Use Template’, which is linked to an Email Template, you will need the “$” as indicated by torin@aminian.com, however, if you’ve used a Custom (or ’embedded’) email template, then you will not need to use the “$”.
-
December 7, 2016 at 7:18 pm #10343
n.tiwari@manduka.comTry using {TRANID} -> We use this internal id for SOs and POs custom workflows and it includes the appropriate SO number (e.g. SO-9769) or PO number (e.g. PO-9769) in the email sent to us – You can use it in the workflow’s Send Email Action. Works both in subject as well as the body of the email sent.
-
December 8, 2016 at 11:08 am #10344
eleranThank you so much. {TRANID} is what I needed for this particular workflow but i can see the other solution coming in handy as well. Thanks again all.
-
May 11, 2017 at 6:39 am #10345
JochenYES! That’s great! Does anyone have a clue on how to access more fields from the transaction? I need some standard and custom fields in my emails that were sent with the workflow.
Used mass update function previously and that worked like a charm. But because I want to schedule another time (after the office closed and not an 3 in the night) and need more content than the possible 4kb text, I need to change to the workflows. Would be so great to have more fulfillment transaction details in these emails …
-
May 11, 2017 at 2:15 pm #10346
DewTry going to Documents > Templates > Email Templates > New. There you can use the text editor “Field Type” and “Insert Field” fields to help design your email. After saving, select it in the workflow with the “Use Template” option rather than the “Custom” option.
-
May 12, 2017 at 2:17 am #10347
JochenYep, that helped me a lot! Thanks!
Also I only needed to remove the “$” and “transaction” or “record” from my previous mass update (freemarker-) template and it works like a charm. Too bad it’s not possible to implement some intelligence in the email. Would love to have this just like in the mass update message field, which is Freemarker (http://freemarker.org/docs/index.html).
-
May 12, 2017 at 2:24 am #10348
JochenThis is the html for the email that is used in the workfow ๐
HTML Code:
Shipping advice {custbody_howordercamein} von {custbody_orderedby}, {shipmethod} {custbodytrackingno}Shipping advice
Thanks a lot for your order, it is now in shipping process.
Find attached your delivery note as PDF for your own files. It is also attached to the shipment, so there’s no need to print it. The invoice will be sent with separate email.Details for shipment {TRANID}
{createdFrom}/{custbody_customerid} of {custbody_orderdate}
ordered: {custbody_howordercamein} by {custbody_orderedby}
contents: check attached PDF
tracking: {shipmethod} {custbodytrackingno}
Shipping address:
{shipAddress}Hint: maybe your package is not tracked yet. In this case check again later!
IMPORTANT NOTICE ON DAMAGED BOXES
Please do not receipt the shipment if it is damaged or the content might be damaged. Warranty claims due to damages caused by the parcel services could not be handled afterwards.
Please do not accept the shipment and immediately inform us in this case. Thanks a lot!
If you have any further questions concerning your order or our products, please don’t hesitate to contact us.
All the best from Northern Germany!
Your friends at teamXYZ -
AuthorPosts
You must be logged in to reply to this topic.