<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Send_Notification_Node_in_Pathways</id>
	<title>Send Notification Node in Pathways - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Send_Notification_Node_in_Pathways"/>
	<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Send_Notification_Node_in_Pathways&amp;action=history"/>
	<updated>2026-06-22T03:40:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://docs.foji.io/index.php?title=Send_Notification_Node_in_Pathways&amp;diff=2775&amp;oldid=prev</id>
		<title>Mitchell.Hirsche: Mitchell.Hirsche moved page Documentation for the &quot;Send Notification&quot; Node in Pathways to Send Notification Node in Pathways</title>
		<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Send_Notification_Node_in_Pathways&amp;diff=2775&amp;oldid=prev"/>
		<updated>2025-03-05T23:06:21Z</updated>

		<summary type="html">&lt;p&gt;Mitchell.Hirsche moved page &lt;a href=&quot;/wiki/Documentation_for_the_%22Send_Notification%22_Node_in_Pathways&quot; class=&quot;mw-redirect&quot; title=&quot;Documentation for the &amp;quot;Send Notification&amp;quot; Node in Pathways&quot;&gt;Documentation for the &amp;quot;Send Notification&amp;quot; Node in Pathways&lt;/a&gt; to &lt;a href=&quot;/wiki/Send_Notification_Node_in_Pathways&quot; title=&quot;Send Notification Node in Pathways&quot;&gt;Send Notification Node in Pathways&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:06, 5 March 2025&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff::1.12:old-2633:rev-2775 --&gt;
&lt;/table&gt;</summary>
		<author><name>Mitchell.Hirsche</name></author>
	</entry>
	<entry>
		<id>https://docs.foji.io/index.php?title=Send_Notification_Node_in_Pathways&amp;diff=2633&amp;oldid=prev</id>
		<title>Mitchell.Hirsche: Send Notification</title>
		<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Send_Notification_Node_in_Pathways&amp;diff=2633&amp;oldid=prev"/>
		<updated>2025-03-04T23:28:20Z</updated>

		<summary type="html">&lt;p&gt;Send Notification&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;Send Notification&amp;#039;&amp;#039;&amp;#039; node in FojiSoft Pathways facilitates sending dynamic and automated notifications to configured recipients. It supports multiple communication channels and content customization options, making it a flexible tool for integrating messaging into workflows.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;&amp;#039;Node Properties&amp;#039;&amp;#039;&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;1. Name&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;: A unique identifier for the node within the workflow.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Usage&amp;#039;&amp;#039;&amp;#039;: Provide a clear and descriptive name to reflect the purpose of the notification (e.g., &amp;quot;Alert on Claim Status Change&amp;quot; or &amp;quot;Notify Staff on Task Completion&amp;quot;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;&amp;#039;&amp;quot;Notify Patient of Invoice Readiness&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;2. Text&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;: Specifies the notification type and defines how the content will be generated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Options&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Communication Type&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;Email&amp;#039;&amp;#039;&amp;#039;: Sends an email to designated recipients.&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;SMS&amp;#039;&amp;#039;&amp;#039;: Sends a text message to configured phone numbers.&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;Push Notification&amp;#039;&amp;#039;&amp;#039;: Sends a push notification to connected devices.&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Content Creation&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;Handlebar Template&amp;#039;&amp;#039;&amp;#039;: Allows dynamic content generation using placeholders (e.g., &amp;lt;nowiki&amp;gt;{{variable_name}}&amp;lt;/nowiki&amp;gt;).&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039;: Enables advanced logic for generating notification content using a scripting language (e.g., Python or JavaScript).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Handlebar Template&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Dear &amp;lt;nowiki&amp;gt;{{PatientName}}&amp;lt;/nowiki&amp;gt;, your claim status is &amp;lt;nowiki&amp;gt;{{ClaimStatus}}&amp;lt;/nowiki&amp;gt;. Please contact us for further details.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
if claim_status == &amp;quot;Approved&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
   return f&amp;quot;Dear {patient_name}, your claim for {claim_amount} has been approved.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
else:&lt;br /&gt;
&lt;br /&gt;
   return f&amp;quot;Dear {patient_name}, your claim for {claim_amount} has been rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Usage&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** Choose &amp;#039;&amp;#039;&amp;#039;Handlebar Template&amp;#039;&amp;#039;&amp;#039; for simple, straightforward dynamic content.&lt;br /&gt;
** Use &amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039; for complex conditional logic or custom formatting.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;3. Data Values&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Data Values&amp;#039;&amp;#039;&amp;#039; section allows you to define the variables used to populate the notification content dynamically.&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;: Assigns a name to each data value that will be injected into the notification content.&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Usage&amp;#039;&amp;#039;&amp;#039;: Use clear names, such as PatientName, ClaimStatus, or InvoiceAmount, to clarify their roles in the notification.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Expression&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Type&amp;#039;&amp;#039;&amp;#039;: Handlebar Template or Script&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Options&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#** &amp;#039;&amp;#039;&amp;#039;Handlebar Template&amp;#039;&amp;#039;&amp;#039;: Define the value of the variable using placeholders or simple text.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{PatientName}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039;: Write logic to define or calculate the value dynamically.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039; (Script):&lt;br /&gt;
&lt;br /&gt;
return f&amp;quot;{patient_name} - Claim Status: {claim_status}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Expression Field&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;: The actual value or logic that determines the variable&amp;#039;s value.&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Status&amp;#039;&amp;#039;&amp;#039;: Required.&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Handlebars&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Your invoice for &amp;lt;nowiki&amp;gt;{{InvoiceAmount}}&amp;lt;/nowiki&amp;gt; is ready to be downloaded.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
if invoice_ready:&lt;br /&gt;
&lt;br /&gt;
   return f&amp;quot;Dear {patient_name}, your invoice for {invoice_amount} is ready for download.&amp;quot;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;&amp;#039;How It Works&amp;#039;&amp;#039;&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Select Notification Type&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Choose the communication method (e.g., Email, SMS, or Push Notification).&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Define Content&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Use &amp;#039;&amp;#039;&amp;#039;Handlebar Template&amp;#039;&amp;#039;&amp;#039; for simple placeholders or &amp;#039;&amp;#039;&amp;#039;Script&amp;#039;&amp;#039;&amp;#039; for complex logic to generate dynamic content.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Map Data Values&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Add necessary variables and their definitions (using templates or scripts) to populate the notification dynamically.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Send Notification&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* When the workflow reaches this node, the notification is sent to the recipients with the dynamically generated content.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;&amp;#039;Use Case Examples&amp;#039;&amp;#039;&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;1. Claim Status Notification&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;: Notify Patient of Claim Status&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Type&amp;#039;&amp;#039;&amp;#039;: Email&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content&amp;#039;&amp;#039;&amp;#039;: Handlebar Template&lt;br /&gt;
&lt;br /&gt;
Dear &amp;lt;nowiki&amp;gt;{{PatientName}}&amp;lt;/nowiki&amp;gt;, your claim for &amp;lt;nowiki&amp;gt;{{ClaimAmount}}&amp;lt;/nowiki&amp;gt; is &amp;lt;nowiki&amp;gt;{{ClaimStatus}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data Values&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;: PatientName&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Expression&amp;#039;&amp;#039;&amp;#039;: &amp;lt;nowiki&amp;gt;{{patient_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;: ClaimStatus&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Expression&amp;#039;&amp;#039;&amp;#039;: &amp;lt;nowiki&amp;gt;{{claim_status}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Outcome&amp;#039;&amp;#039;&amp;#039;: Sends an email to patients updating them on their claim status.&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;2. Task Completion Notification&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;: Notify Staff of Task Completion&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Type&amp;#039;&amp;#039;&amp;#039;: Push Notification&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content&amp;#039;&amp;#039;&amp;#039;: Script&lt;br /&gt;
&lt;br /&gt;
return f&amp;quot;The task &amp;#039;{task_name}&amp;#039; was completed successfully at {completion_time}.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data Values&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;: TaskName&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Expression&amp;#039;&amp;#039;&amp;#039;: &amp;lt;nowiki&amp;gt;{{task_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Outcome&amp;#039;&amp;#039;&amp;#039;: Sends a push notification to the team about task completion.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;&amp;#039;Best Practices&amp;#039;&amp;#039;&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Select the Right Content Type&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Use Handlebar Templates for quick, dynamic notifications.&lt;br /&gt;
#* Use Scripts for notifications requiring conditional logic or data manipulation.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Test Notifications&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Validate notification content and delivery settings before deploying.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Be Concise&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Keep notifications short and actionable for better user understanding.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Dynamic Content&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
#* Leverage data values effectively to make notifications personalized and relevant.&lt;br /&gt;
&lt;br /&gt;
----The &amp;#039;&amp;#039;&amp;#039;Send Notification&amp;#039;&amp;#039;&amp;#039; node is a versatile tool in Pathways, capable of sending real-time alerts with customizable content through dynamic templates or scripts. Its flexibility ensures effective communication in any automated workflow.&lt;br /&gt;
[[Category:ForgeAI]]&lt;br /&gt;
[[Category:Pathways]]&lt;/div&gt;</summary>
		<author><name>Mitchell.Hirsche</name></author>
	</entry>
</feed>