Skip to content

Notifications

Send messages via Slack, Discord, Teams, Telegram, email, SMS, and WhatsApp.

9 modules

ModuleDescription
Twilio Effettua ChiamataEffettua chiamata vocale tramite Twilio
Twilio Invia SMSInvia messaggio SMS tramite Twilio
Invia Messaggio DiscordInvia messaggio a Discord tramite webhook
Invia EmailInvia email tramite SMTP
Invia Messaggio SlackInvia messaggio a Slack tramite webhook
Invia Messaggio TeamsInvia messaggio a Microsoft Teams tramite webhook in entrata
Invia Messaggio TelegramInvia messaggio tramite API Telegram Bot
Invia Messaggio WhatsAppInvia messaggio tramite WhatsApp Business API (Meta Cloud API)
Invia NotificaInvia notifica a Telegram, Discord, Slack, LINE, o qualsiasi URL webhook

Modules

Twilio Effettua Chiamata

communication.twilio.make_call

Effettua chiamata vocale tramite Twilio

Parameters:

NameTypeRequiredDefaultDescription
account_sidstringNo-Account SID Twilio (o usa env TWILIO_ACCOUNT_SID)
auth_tokenstringNo-Auth Token Twilio (o usa env TWILIO_AUTH_TOKEN)
from_numberstringYes-Auth Token Twilio (o usa env TWILIO_AUTH_TOKEN)
to_numberstringYes-Numero telefono Twilio
twiml_urlstringYes-Numero telefono destinatario

Output:

FieldTypeDescription
sidstringThe sid
statusstringOperation status (success/error)
tostringThe to
fromstringThe from

Example: Make automated call

yaml
from_number: +1234567890
to_number: +0987654321
twiml_url: https://example.com/voice.xml

Twilio Invia SMS

communication.twilio.send_sms

Invia messaggio SMS tramite Twilio

Parameters:

NameTypeRequiredDefaultDescription
account_sidstringNo-Account SID Twilio (o usa env TWILIO_ACCOUNT_SID)
auth_tokenstringNo-Auth Token Twilio (o usa env TWILIO_AUTH_TOKEN)
from_numberstringYes-Numero telefono Twilio (es. +1234567890)
to_numberstringYes-Numero telefono Twilio (es. +1234567890)
messagestringYes-Numero telefono destinatario (es. +1234567890)

Output:

FieldTypeDescription
sidstringTesto messaggio SMS
statusstringTesto messaggio SMS
tostringIl sid
fromstringStato operazione (successo/errore)

Example: Send notification SMS

yaml
from_number: +1234567890
to_number: +0987654321
message: Your order has been shipped!

Example: Send verification code

yaml
from_number: +1234567890
to_number: +0987654321
message: Your verification code is: 123456

Invia Messaggio Discord

notification.discord.send_message

Invia messaggio a Discord tramite webhook

Parameters:

NameTypeRequiredDefaultDescription
webhook_urlstringNo-URL webhook Discord (da env.DISCORD_WEBHOOK_URL o input diretto)
contentstringYes-URL webhook Discord (da env.DISCORD_WEBHOOK_URL o input diretto)
usernamestringNo-Il messaggio da inviare
avatar_urlstringNo-Sovrascrivi nome utente bot (opzionale)

Output:

FieldTypeDescription
statusstringURL immagine avatar del bot (opzionale)
sentbooleanStato operazione (successo/errore)
messagestringInvia messaggio al canale Discord tramite URL webhook

Example: Example

yaml
content: Workflow completed successfully!

Invia Email

notification.email.send

Invia email tramite SMTP

Parameters:

NameTypeRequiredDefaultDescription
smtp_serverstringYes-Nome host server SMTP (es. smtp.gmail.com)
smtp_portnumberNo587Nome host server SMTP (es. smtp.gmail.com)
usernamestringYes-Porta SMTP (587 per TLS, 465 per SSL)
passwordstringYes-Nome utente SMTP
from_emailstringYes-Password SMTP (usa variabile env!)
to_emailstringYes-Indirizzo email mittente
subjectstringYes-Indirizzo email destinatario
bodytextYes-Oggetto email
htmlbooleanNoFalseCorpo email (HTML supportato)

Output:

FieldTypeDescription
statusstringInvia corpo come HTML
sentbooleanStato operazione (successo/errore)
messagestringStato operazione (successo/errore)

Example: Example

yaml
smtp_server: smtp.gmail.com
smtp_port: 587
from_email: bot@example.com
to_email: user@example.com
subject: Workflow Complete
body: Your automation workflow has finished successfully.

Invia Messaggio Slack

notification.slack.send_message

Invia messaggio a Slack tramite webhook

Parameters:

NameTypeRequiredDefaultDescription
webhook_urlstringNo-URL webhook Slack (da env.SLACK_WEBHOOK_URL o input diretto)
textstringYes-URL webhook Slack (da env.SLACK_WEBHOOK_URL o input diretto)
channelstringNo-Il messaggio da inviare
usernamestringNo-Sovrascrivi canale predefinito (opzionale)
icon_emojistringNo-Sovrascrivi nome utente bot (opzionale)

Output:

FieldTypeDescription
statusstringEmoji icona bot (opzionale)
sentbooleanStato operazione (successo/errore)
messagestringStato operazione (successo/errore)

Example: Example

yaml
text: Workflow completed successfully!

Example: Example

yaml
text: Alert: New user registered!
channel: #alerts
username: Alert Bot
icon_emoji: :warning:

Invia Messaggio Teams

notification.teams.send_message

Invia messaggio a Microsoft Teams tramite webhook in entrata

Parameters:

NameTypeRequiredDefaultDescription
webhook_urlstringYes-URL webhook in entrata di Microsoft Teams
messagetextYes-Il testo del messaggio da inviare
titlestringNo-Titolo della scheda messaggio (opzionale)
colorstringNo-Codice colore tema esadecimale (opzionale)
sectionsarrayNo-Sezioni aggiuntive del MessageCard (opzionale)

Output:

FieldTypeDescription
okbooleanSe l'operazione è riuscita
dataobjectDati di risposta con stato e webhook_url

Example: Example

yaml
webhook_url: https://outlook.office.com/webhook/...
message: Deployment completed successfully!
title: Deploy Status
color: #00FF00

Invia Messaggio Telegram

notification.telegram.send_message

Invia messaggio tramite API Telegram Bot

Parameters:

NameTypeRequiredDefaultDescription
bot_tokenstringNo-Token bot Telegram (da env.TELEGRAM_BOT_TOKEN o input diretto)
chat_idstringYes-Token bot Telegram (da env.TELEGRAM_BOT_TOKEN o input diretto)
textstringYes-ID chat Telegram o nome utente canale
parse_modeselect (Markdown, HTML, None)NoMarkdownIl messaggio da inviare

Output:

FieldTypeDescription
statusstringModalita formattazione messaggio
sentbooleanStato operazione (successo/errore)
message_idnumberStato operazione (successo/errore)
messagestringSe la notifica e stata inviata

Example: Example

yaml
chat_id: @mychannel
text: Workflow completed!

Example: Example

yaml
chat_id: 123456789
text: *Bold* _italic_ `code`
parse_mode: Markdown

Invia Messaggio WhatsApp

notification.whatsapp.send_message

Invia messaggio tramite WhatsApp Business API (Meta Cloud API)

Parameters:

NameTypeRequiredDefaultDescription
phone_number_idstringYes-ID del numero di telefono del mittente di WhatsApp Business
tostringYes-Numero di telefono del destinatario con prefisso internazionale
messagetextYes-Il testo del messaggio da inviare
access_tokenpasswordYes-Token di accesso Meta per WhatsApp Business API
message_typeselect (text, template)NotextTipo di messaggio da inviare
template_namestringNo-Nome del modello di messaggio WhatsApp (richiesto se message_type è modello)
template_languagestringNoenCodice lingua del modello

Output:

FieldTypeDescription
okbooleanSe l'operazione è riuscita
dataobjectDati di risposta con stato, message_id e destinatario

Example: Example

yaml
phone_number_id: 1234567890
to: +1987654321
message: Your order has been shipped!
access_token: EAAx...

Example: Example

yaml
phone_number_id: 1234567890
to: +1987654321
message: 
access_token: EAAx...
message_type: template
template_name: hello_world
template_language: en

Invia Notifica

notify.send

Invia notifica a Telegram, Discord, Slack, LINE, o qualsiasi URL webhook

Parameters:

NameTypeRequiredDefaultDescription
urlstringYes-URL Webhook (Telegram, Discord, Slack, o personalizzato)
messagestringYes-Contenuto del messaggio di notifica
titlestringNo-Contenuto del messaggio di notifica
chat_idstringNo-Titolo opzionale (per Discord, Slack, Teams)

Output:

FieldTypeDescription
okbooleanID chat di Telegram (necessario per Telegram)
platformstringSe la notifica è stata inviata con successo
status_codenumberSe la notifica è stata inviata con successo
responseobjectPiattaforma rilevata (telegram, discord, slack, ecc.)

Example: Send Telegram notification

yaml
url: https://api.telegram.org/bot<TOKEN>/sendMessage
message: BTC: $42,350 (+1.7%)
chat_id: 123456789

Example: Send Discord notification

yaml
url: https://discord.com/api/webhooks/xxx/yyy
message: Price alert triggered!
title: Crypto Alert

Example: Send Slack notification

yaml
url: https://hooks.slack.com/services/xxx/yyy/zzz
message: Deployment completed successfully

Released under the Apache 2.0 License.