
Zoom SendMessage
CertifiedSend a Zoom Team Chat message
Zoom SendMessage
Send a Zoom Team Chat message
Posts a message to a Zoom channel or a Zoom user via the Zoom Team Chat API.
type: io.kestra.plugin.zoom.SendMessageExamples
Notify a Zoom channel when a flow fails.
id: unreliable_flow
namespace: company.team
tasks:
- id: fail
type: io.kestra.plugin.scripts.shell.Commands
runner: PROCESS
commands:
- exit 1
errors:
- id: alert_on_failure
type: io.kestra.plugin.zoom.SendMessage
accountId: "{{ secret('ZOOM_ACCOUNT_ID') }}"
clientId: "{{ secret('ZOOM_CLIENT_ID') }}"
clientSecret: "{{ secret('ZOOM_CLIENT_SECRET') }}"
userId: "{{ secret('ZOOM_BOT_USER_ID') }}"
channel: "{{ secret('ZOOM_CHANNEL_ID') }}"
message: "Flow {{ flow.namespace }}.{{ flow.id }} failed."
Notify a Zoom channel when a flow completes successfully.
id: notify_zoom_on_success
namespace: company.team
tasks:
- id: run_job
type: io.kestra.plugin.scripts.shell.Commands
runner: PROCESS
commands:
- echo "job done"
- id: send_notification
type: io.kestra.plugin.zoom.SendMessage
accountId: "{{ secret('ZOOM_ACCOUNT_ID') }}"
clientId: "{{ secret('ZOOM_CLIENT_ID') }}"
clientSecret: "{{ secret('ZOOM_CLIENT_SECRET') }}"
userId: "{{ secret('ZOOM_BOT_USER_ID') }}"
channel: "{{ secret('ZOOM_CHANNEL_ID') }}"
message: "Flow {{ flow.namespace }}.{{ flow.id }} completed successfully."
Properties
accountId *Requiredstring
Zoom Account ID
Account ID obtained from Zoom App Marketplace
clientId *Requiredstring
Zoom Client ID
Client ID obtained from Zoom App Marketplace
clientSecret *Requiredstring
Zoom Client Secret
Client Secret obtained from Zoom App Marketplace
message *Requiredstring
Message
The message to send
userId *Requiredstring
Zoom User ID
The Zoom user ID associated with the chat
baseUrl string
Custom Base URL
Override Zoom API base URL. Defaults to https://api.zoom.us/v2/
channel string
Channel
The Zoom channel ID to send the message to
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
toContact string
Recipient Contact
The email address of the user to send the message to