Skip to content

Commit

Permalink
Merge pull request #11 from shrutimantri/add-full-examples
Browse files Browse the repository at this point in the history
fix(examples): added full example for hubspot task
  • Loading branch information
wrussell1999 authored Sep 2, 2024
2 parents de0fa28 + 9dd22cb commit e951f27
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 e951f27

Please sign in to comment.