
Tencent QQExecution
CertifiedSend a Tencent QQ notification on a Kestra execution
Tencent QQExecution
Send a Tencent QQ notification on a Kestra execution
Renders a template with execution context and sends it to the configured QQ recipients.
type: io.kestra.plugin.tencent.qq.QQExecutionExamples
Send a Tencent IM / QQ notification on failed executions
id: failure_alert_qq
namespace: company.team
tasks:
- id: send_qq_alert
type: io.kestra.plugin.tencent.qq.QQExecution
url: "https://console.tim.qq.com/v4/openim/sendmsg?sdkappid=xxx&identifier=admin&usersig=xxx&random=9999&contenttype=json"
recipientIds:
- "QQ_USER_ID_1"
- "QQ_USER_ID_2"
executionId: "{{ trigger.executionId }}"
customMessage: "Flow {{ flow.id }} failed"
triggers:
- id: failed_prod
type: io.kestra.plugin.core.trigger.Flow
conditions:
- type: io.kestra.plugin.core.condition.ExecutionStatus
in: [FAILED, WARNING]
Properties
payload *string
Request payload
Raw JSON payload sent to the Tencent IM API
url *string
Tencent IM REST API endpoint
Tencent Cloud IM REST endpoint used to send the message
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150customFields object
Custom fields to be added on notification
customMessage string
Custom message to be added on notification
executionId string
{{ execution.id }}The execution id to use
Default is the current execution, change it to {{ trigger.executionId }} if you use this task with a Flow trigger to use the original execution.
options
HTTP request options
io.kestra.plugin.tencent.AbstractQQConnection-RequestOptions
recipientIds array
Recipient IDs to notify
templateRenderMap object
Values used to render the template
templateUri string
URI of the notification template
token string
Tencent IM authentication token
Authentication token or signature for Tencent IM API