Skip to main content
Planview Customer Success Center

Initiate a card-level external event

POST /io/card/:cardId/automation/externalevent

External events allow you to execute automations based on something happening outside of your board. For a card-level external event, any automations that have the external event type and match the event name will be executed, as long as all of the other criteria on the automation match the card as well.

If using GitHub Actions, AgilePlace has a standard action to initiate an card-level external event. Please review: https://github.com/LeanKit/github-actions?tab=readme-ov-file#initiate-card-event along with https://github.com/LeanKit/github-actions?tab=readme-ov-file#extract-card-id. .

Example Request

curl -X POST \
  https://myaccount.leankit.com/io/card/1234/automation/externalevent \
  -H 'Authorization: Basic base64encodedauthhere' \
  --data `{ "eventName": "pr-merged" }`

Example Successful Response

202 Accepted




Updated 2024-10-07 @ 11:10 AM