{{ transformations:sendntfymessageaction.png}}
====== SEND A MESSAGE TO NTFY ======
Category: Workflow / App/Cloud\\

\\ 
=====Description=====
This action sends messages to the **[[https://ntfy.sh|ntfy]]** open-source messaging application.
 
\\
=====Use cases=====
This action can be used to send various notifications and metrics to mobile devices or alert when an event happens (e.g. a metric has exceeded a threshold).

Two message types are possible:

  * A parameterized text message generated from a template
  * The first row of the active dataset

\\ 
=====Action settings=====
^ Setting  ^ Description  ^
|Connector<sup>*</sup>|Select or create a configured ntfy connector (optional).|
|Topic<sup>*</sup>|Enter the topic name.|
|Priority|Select the message's priority level.  Options:  //Min//, //Low//, //Default//, //High//, or //Max//.|
|Title<sup>*</sup>|Check on to enter a title for the message, and enter the title's text.|
|Message contents|Select whether the message body is created from //The first row (unpivoted)// of the input dataset, or //Parameterized text//.|
|Action buttons|Add up to 3 actions buttons to the message.|

<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\

\\ 
====Action button settings====
**Note:**  A maximum of 3 buttons may be added to a ntfy message.
^ Setting  ^ Description  ^
|Label<sup>*</sup>|The text that appears on the button.|
|Action|Select what is triggered when the button is pressed.  Options:  //Open URL// (and enter the destination URL<sup>*</sup>), //Android intent// (and select/enter the Intent title<sup>*</sup> and Extras in JSON) , or //Web request// (and enter the URL<sup>*</sup>, select the request method, enter any Headers, and enter the request's Body).|
|Clear notification after button is tapped|Check this to clear the notification when the end user presses the button.|

<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\



\\ 
=====See also=====
  * [[transformations:sendemail|Send email]]
  * [[transformations:sendpushovermessage|Send message to Pushover]]
