Skip to content

Commit

Permalink
fix(examples): added full example for hubspot task
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutimantri committed Sep 1, 2024
1 parent de0fa28 commit 9dd22cb
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/main/java/io/kestra/plugin/hubspot/tickets/Create.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@
@Example(
full = true,
code = """
- id: hubspot
type: io.kestra.plugin.hubspot.tickets.Create
apiKey: my_api_key
subject: Workflow failed
content: "{{ execution.id }} has failed on {{ taskrun.startDate }}"
stage: 3
priority: HIGH
"""
id: hubspot_tickets_create
namespace: company.team
tasks:
- id: create_ticket
type: io.kestra.plugin.hubspot.tickets.Create
apiKey: my_api_key
subject: Workflow failed
content: "{{ execution.id }} has failed on {{ taskrun.startDate }}"
stage: 3
priority: HIGH
"""
)
}
)
Expand Down

0 comments on commit 9dd22cb

Please sign in to comment.