Log Event
AI-generatedSummary
Log an event to a specified Logit channel with optional description, icon, notification, inbox visibility, tracking ID, tags, and metadata.
Inputs
- Channel (required) — Channel name to log the event to (e.g. 'payments').
- Event (required) — Name of the event to log (e.g. 'Payment Received').
- Description — Optional human-readable description of the event.
- Icon — Optional emoji icon representing the event.
- Notify — Whether to send a push notification for this event (boolean). Defaults to false.
- Inbox — Whether to show this event in the real-time inbox (boolean). Defaults to true.
- Tracking ID — Optional tracking ID to link this event to an existing timeline, from a previous Log Event call.
- Tags — Optional JSON object of tags to associate with the event (e.g., {"env":"prod","version":"1.2"}).
- Metadata — Optional JSON object of additional metadata (e.g., {"userId":"123","amount":50}).
Output shape
a list of JSON objects, one per item processed, each containing the response from Logit for the logged event
Each output item corresponds to an input item. In case of failure and if 'Continue On Fail' is enabled, the output contains an error message for that item instead.
Examples
Example 1: Log a payment event with description and notification
Channel='payments', Event='Payment Received', Description='Payment of $50 received from John', Notify=true