yaml
type: "io.kestra.plugin.trello.cards.Trigger"
yaml
id: trello_card_monitor
namespace: company.team

tasks:
  - id: notify_slack
    type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
    url: "{{ secret('SLACK_WEBHOOK_URL') }}"
    payload: |
      {
        "text": "Card {{ trigger.cards[0].cardName }} was {{ trigger.cards[0].action }}: {{ trigger.cards[0].cardUrl }}"
      }

triggers:
  - id: card_trigger
    type: io.kestra.plugin.trello.cards.Trigger
    apiKey: "{{ secret('TRELLO_API_KEY') }}"
    apiToken: "{{ secret('TRELLO_API_TOKEN') }}"
    lists:
      - "5abbe4b7ddc1b351ef961414"
    interval: PT5M

yaml
id: trello_monitor
namespace: company.team

tasks:
  - id: notify_slack
    type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
    url: "{{ secret('SLACK_WEBHOOK_URL') }}"
    payload: |
      {
        "text": "Card {{ trigger.cards[0].cardName }} was {{ trigger.cards[0].action }}: {{ trigger.cards[0].cardUrl }}"
      }

triggers:
  - id: multi_list_trigger
    type: io.kestra.plugin.trello.cards.Trigger
    apiKey: "{{ secret('TRELLO_API_KEY') }}"
    apiToken: "{{ secret('TRELLO_API_TOKEN') }}"
    lists:
      - "5abbe4b7ddc1b351ef961414"
      - "5abbe4b7ddc1b351ef961415"
    interval: PT10M

yaml
id: trello_board_monitor
namespace: company.team

tasks:
  - id: notify_slack
    type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
    url: "{{ secret('SLACK_WEBHOOK_URL') }}"
    payload: |
      {
        "text": "Card {{ trigger.cards[0].cardName }} was {{ trigger.cards[0].action }}: {{ trigger.cards[0].cardUrl }}"
      }

triggers:
  - id: board_trigger
    type: io.kestra.plugin.trello.cards.Trigger
    apiKey: "{{ secret('TRELLO_API_KEY') }}"
    apiToken: "{{ secret('TRELLO_API_TOKEN') }}"
    boardId: "5abbe4b7ddc1b351ef961416"
    interval: PT15M
Properties
Defaultfalse
Defaulthttps://api.trello.com
Default1
Definitions
type*Requiredobject
afterstring
Formatdate-time
beforestring
Formatdate-time
datestring
Default{{ trigger.date }}
dayOfWeek*Requiredstring
Possible Values
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY
type*Requiredobject
datestring
Default{{ trigger.date }}
dayInMonth*Requiredstring
Possible Values
FIRSTLASTSECONDTHIRDFOURTH
dayOfWeek*Requiredstring
Possible Values
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY
type*Requiredobject
datestring
Default{{ trigger.date }}
flowId*Requiredstring
namespace*Requiredstring
type*Requiredobject
labels*Requiredarrayobject
type*Requiredobject
namespace*Requiredstring
type*Requiredobject
comparisonstring
Possible Values
EQUALSPREFIXSUFFIX
prefixbooleanstring
Defaultfalse
expression*Requiredbooleanstring
type*Requiredobject
type*Requiredobject
inarray
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
notInarray
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
expression*Requiredstring
type*Requiredobject
flowId*Requiredstring
namespace*Requiredstring
type*Requiredobject
namespace*Requiredstring
type*Requiredobject
prefixboolean
Defaultfalse
type*Requiredobject
inarray
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
notInarray
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
conditions*Requiredobject
id*Requiredstring
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*Requiredobject
resetOnSuccessboolean
Defaulttrue
timeWindow
Default{ "type": "DURATION_WINDOW" }
deadlinestring
Formatpartial-time
endTimestring
Formatpartial-time
startTimestring
Formatpartial-time
typestring
DefaultDURATION_WINDOW
Possible Values
DAILY_TIME_DEADLINEDAILY_TIME_WINDOWDURATION_WINDOWSLIDING_WINDOW
windowstring
Formatduration
windowAdvancestring
Formatduration
windowDeprecatedstring
Formatduration
windowAdvanceDeprecatedstring
Formatduration
conditions*Required
Min items1
type*Requiredobject
conditions*Required
Min items1
type*Requiredobject
type*Requiredobject
countrystring
datestring
Default{{ trigger.date}}
subDivisionstring
type*Requiredobject
afterstring
Formattime
beforestring
Formattime
datestring
Default{{ trigger.date }}
type*Requiredobject
datestring
Default{{ trigger.date }}
DefaultPT5M
Formatduration
SubTypestring
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
Definitions
actionstring
boardIdstring
cardDescriptionstring
cardIdstring
cardNamestring
cardUrlstring
lastActivitystring
Formatdate-time
listIdstring