Answers.Body: <p>It seems like this should be possible with the <code>Other: Replace tokens in HTML</code> action, though it seems to only accept a few different entity IDs (the most common ones though).</p>
  <p>If you need to add information that's part of the input but not a true &quot;token&quot;, it seems possible but onerous.  You would:</p>
  <ul>
  <li>make your own &quot;token&quot; - e.g. <code>&lt;placeholder for submitter's name&gt;</code></li>
  <li>use the <code>Set Value</code> action to create an input with that text, e.g <code>placeholder_1</code>.</li>
  <li>Use the <code>Other: Replace text</code> to search your template HTML, <em>Value</em> would be <code>placeholder_1</code>, <code>replacement</code> would be the field you want to insert into your text.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-31T15:48:19.497Z
Answers.LastActivityDate: 2023-07-31T15:48:19.497Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>In the extension Form Processor I'd like to perform the action to send an email. I lookup an email template (with action &quot;Communication: Get message template by name&quot;), and I would like to fill it with some parameters I got from the form, or some action I performed before. How can I insert those parameters?</p>
  <p>Can the template contain tokens or placeholders that can be replaced in form processor?</p>
  <p>What's the way to go if I want to send out an email containing data from or derived from the contents in the form?</p>
  
Tags: <form-processor><action-provider>
Title: In Formprocessor fill an email template with values from parameters from the form
ThreadText: # In Formprocessor fill an email template with values from parameters from the form
  
  (Asked by: username_0 on 2023-07-26)
  
  In the extension Form Processor I'd like to perform the action to send an email. I lookup an email template (with action "Communication: Get message template by name"), and I would like to fill it with some parameters I got from the form, or some action I performed before. How can I insert those parameters?
  
  Can the template contain tokens or placeholders that can be replaced in form processor?
  
  What's the way to go if I want to send out an email containing data from or derived from the contents in the form?
  
  **Tags:** form-processor, action-provider
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-07-31. Score: 1 | Accepted answer
  
  It seems like this should be possible with the `Other: Replace tokens in HTML` action, though it seems to only accept a few different entity IDs (the most common ones though).
  
  If you need to add information that's part of the input but not a true "token", it seems possible but onerous. You would:
  
  * make your own "token" - e.g.
  * use the `Set Value` action to create an input with that text, e.g `placeholder_1`.
  * Use the `Other: Replace text` to search your template HTML, *Value* would be `placeholder_1`, `replacement` would be the field you want to insert into your text.
  
  
  ---
  
  