Event Webhooks
Webhook events that trigger automated workflows based on specific activities in your connected systems.
Knapsack supports webhook events that trigger automated workflows (called "Knaps") based on specific activities. These events allow your Knaps to respond to real-time events in your connected systems.
Available Webhook Events
new_calendar_event
Triggered when a new calendar event is created in any connected calendar system.
Event Data:
user_id: ID of the user who owns the calendar eventcalendar_event: Dictionary containing event details:idorevent_id: Unique identifier for the calendar eventtitle: Event title/subjectstart_time: Event start timeend_time: Event end timeattendees: List of event attendeeslocation: Event location (if specified)
Use Cases:
- Automatically prepare meeting agendas
- Send event reminders to participants
- Schedule pre-meeting research tasks
- Update project management tools with meeting information
post_meeting_transcription
Triggered after a meeting transcript becomes available from any connected meeting platform (Zoom, Teams, etc.).
Event Data:
user_id: ID of the user who participated in the meetingmeeting_id: External meeting identifiertranscript_id: ID of the completed transcriptmeeting_data: Dictionary with meeting details:title: Meeting titleparticipants: List of meeting participantsduration: Meeting durationplatform: Meeting platform (Zoom, Teams, etc.)
Use Cases:
- Generate meeting summaries
- Extract action items from transcripts
- Update CRM systems with meeting outcomes
- Send follow-up emails with key decisions
post_emails_received
Triggered after new email(s) are received in connected email accounts.
Event Data:
user_id: ID of the user who received the email(s)emails: List of received email objects:id: Unique email identifiersubject: Email subject linesender: Email sender informationrecipients: List of email recipientsbody: Email contenttimestamp: When email was receivedattachments: List of email attachments (if any)
Use Cases:
- Auto-categorize and prioritize emails
- Extract tasks from email content
- Update customer support tickets
- Generate automated responses for common inquiries
pre_calendar_event_start
Triggered approximately 1 hour before a calendar event is scheduled to start.
Event Data:
user_id: ID of the user who owns the calendar eventcalendar_event: Dictionary containing event details:idorevent_id: Unique identifier for the calendar eventtitle: Event title/subjectstart_time: Event start timeend_time: Event end timeattendees: List of event attendeeslocation: Event location (if specified)
time_until_start: Minutes until the event starts (approximately 60)
Use Cases:
- Send pre-meeting preparation reminders
- Gather relevant documents for the meeting
- Check attendee availability
- Set up virtual meeting rooms
Event Handling
When a webhook event occurs:
- Event Detection: Knapsack detects the event from connected systems
- User Filtering: Only active Knaps for the relevant user are considered
- Permission Checks: Knapsack verifies the user has permission to run the triggered Knaps
- Execution: Eligible Knaps are queued for execution with the event data
- Deduplication: Duplicate events are handled gracefully to prevent redundant executions
Setting Up Webhook Triggers
To configure a Knap to respond to webhook events:
- Create or edit a Knap in the Knapsack interface
- In the trigger settings, select "Event-based" instead of "Scheduled"
- Choose one or more webhook events that should trigger the Knap
- Configure any event-specific parameters
- Save and activate the Knap
The Knap will automatically execute when the selected events occur, with access to all relevant event data for processing.