Skip to content

Commit 4aee586

Browse files
authored
docs: Update actions.md (#1446)
Mention new available variables in global context
1 parent 982f4b6 commit 4aee586

File tree

1 file changed

+1
-0
lines changed
  • sources/platform/integrations/programming/webhooks

1 file changed

+1
-0
lines changed

sources/platform/integrations/programming/webhooks/actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ The description is an optional string that you can add to the webhook. It serves
157157
| `eventType` | string | Type of the trigger event, [see Events](/platform/integrations/webhooks/events). |
158158
| `eventData` | Object | Data associated with the trigger event, [see Events](/platform/integrations/webhooks/events). |
159159
| `resource` | Object | The resource that caused the trigger event. |
160+
| `globals` | Object | Data available in global context. Contains `dateISO` (date of webhook's trigger event in ISO 8601 format) and `dateUnix` (date of trigger event in Unix time in seconds) |
160161

161162
### Resource
162163

0 commit comments

Comments
 (0)