Skip to content

Commit

Permalink
Merge pull request #169 from shrutimantri/correct-whatsapp
Browse files Browse the repository at this point in the history
fix(docs): correct the whatsapp notification task docs
  • Loading branch information
wrussell1999 authored Oct 11, 2024
2 parents dffd675 + 712d8ee commit 30c0f33
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
@Getter
@NoArgsConstructor
@Schema(
title = "Send a WhatsApp message with the execution information",
title = "Send a WhatsApp message with the execution information.",
description = "The message will include a link to the execution page in the UI along with the execution ID, namespace, flow name, the start date, duration and the final status of the execution, and (if failed) the task that led to a failure.\n\n" +
"Use this notification task only in a flow that has a [Flow trigger](https://kestra.io/docs/administrator-guide/monitoring#alerting). Don't use this notification task in `errors` tasks. Instead, for `errors` tasks, use the [WhatsAppIncomingWebhook](https://kestra.io/plugins/plugin-notifications/tasks/discord/io.kestra.plugin.notifications.whatsapp.whatsappincomingwebhook) task."
"Use this notification task only in a flow that has a [Flow trigger](https://kestra.io/docs/administrator-guide/monitoring#alerting). Don't use this notification task in `errors` tasks. Instead, for `errors` tasks, use the [WhatsAppIncomingWebhook](https://kestra.io/plugins/plugin-notifications/tasks/whatsapp/io.kestra.plugin.notifications.whatsapp.whatsappincomingwebhook) task."
)
@Plugin(
examples = {
Expand All @@ -33,8 +33,8 @@
tasks:
- id: send_alert
type: io.kestra.plugin.notifications.discord.WhatsAppExecution
url: "{{ secret('WHATSAPP_WEBHOOK') }}" # format: https://hooks.discord.com/services/xzy/xyz/xyz
type: io.kestra.plugin.notifications.whatsapp.WhatsAppExecution
url: "{{ secret('WHATSAPP_WEBHOOK') }}"
profileName: "MyProfile"
from: 380999999999
whatsAppIds:
Expand Down

0 comments on commit 30c0f33

Please sign in to comment.