About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will send a Pushsafer.com notification.
- API endpoint slug
- pushsafer.send
- Filter code method
- Pushsafer.send.skip(string?: reason)
- Runtime method
- runAction("pushsafer.send", {})
Action fields
Message Text input > Long text
- Label
- Message
- Helper text
- Message / text of the push notification
- Slug
- message
- Required
- true
- Can have default value
- true
- Filter code method
- Pushsafer.send.setMessage(string: message)
Title Text input > Long text
- Label
- Title
- Helper text
- Subject / title of a push-notification, max. 255 characters
- Slug
- title
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setTitle(string: title)
Device Dropdown list
- Label
- Device
- Helper text
- device or device group id, the message is sent to
- Slug
- device
- Required
- true
- Can have default value
- false
Sound Dropdown list
- Label
- Sound
- Helper text
- Ringtone / Sound which played when receiving a notification. blank=default, 0=silent, 1-50
- Slug
- sound
- Required
- false
- Can have default value
- false
Vibration Dropdown list
- Label
- Vibration
- Helper text
- How often the device should vibrate when receiving a push-notification.
- Slug
- vibration
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setVibration(string: vibration)
Icon Dropdown list
- Label
- Icon
- Helper text
- notification icon, which is displayed with the notification, you can choose between 1-177
- Slug
- icon
- Required
- false
- Can have default value
- false
Iconcolor Text input > Other
- Label
- Icon Color
- Helper text
- set the icon color in the Client APP or Android notification LED color (f.e. red = #FF0000)
- Slug
- iconcolor
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setIconcolor(string: iconcolor)
URL Text input > Other
- Label
- URL / Link
- Helper text
- URL or URL-scheme can be opened out of the push notification or from the client-app.
- Slug
- url
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setUrl(string: url)
Urltitle Text input > Other
- Label
- URL Title
- Helper text
- Describes the title of the URL. If this parameter is not passed, the URL title is equal to the URL.
- Slug
- urltitle
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setUrltitle(string: urltitle)
Time2live Text input > Other
- Label
- Time 2 Live
- Helper text
- how long a message should be kept in the client APP until it is automatically deleted. 0 or empty = do not automatically delete, an integer value 1-43200 the time in minutes before automatic deletion.
- Slug
- time2live
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setTime2live(string: time2live)
Priority Dropdown list
- Label
- Priority
- Helper text
- priority of push-notification
- Slug
- priority
- Required
- false
- Can have default value
- false
Retry Text input > Other
- Label
- Retry / Resend
- Helper text
- a message will be resent after a certain time (60-10800 seconds, 60's steps).
- Slug
- retry
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setRetry(string: retry)
Expire Text input > Other
- Label
- Expire
- Helper text
- stops resending push-notifications after a specified time (60-10800 seconds).
- Slug
- expire
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setExpire(string: expire)
Answer Dropdown list
- Label
- Answer
- Helper text
- ability to respond push notifications
- Slug
- answer
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setAnswer(string: answer)
Giphy Text input > Other
- Label
- Giphy GIF
- Helper text
- A giphy gif code, take a look at the pushsafer api description
- Slug
- giphy
- Required
- false
- Can have default value
- true
- Filter code method
- Pushsafer.send.setGiphy(string: giphy)