Tencent QQExecution

Tencent QQExecution

Certified

Send a Tencent QQ notification on a Kestra execution

Renders a template with execution context and sends it to the configured QQ recipients.

yaml
type: io.kestra.plugin.tencent.qq.QQExecution

Send a Tencent IM / QQ notification on failed executions

yaml
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

Request payload

Raw JSON payload sent to the Tencent IM API

Tencent IM REST API endpoint

Tencent Cloud IM REST endpoint used to send the message

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.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset 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.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

Custom fields to be added on notification

Custom message to be added on notification

Default{{ 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.

HTTP request options

Definitions
connectTimeoutstring
headersobject
SubTypestring
readIdleTimeoutstring
SubTypestring

Recipient IDs to notify

Values used to render the template

URI of the notification template

Tencent IM authentication token

Authentication token or signature for Tencent IM API