# Webinar Integration

This guide is for developers who want to connect webinar tools with KlickTipp.

These integrations usually have the same business goal: register contacts, store webinar metadata, track attendance and replay behavior, assign the correct tags, and trigger follow-up campaigns without corrupting state when events arrive late or more than once.

## Choose the Integration Model

Use the Listbuilding API only for a very simple registration flow with one fixed tag path and no later attendance-state updates.

Use the Management API for most webinar integrations because registration, attendance, replay, no-show, and buyer events all require dynamic contact updates and tag changes.

| Action | Description |
|  --- | --- |
| [Listbuilding Signin](/listbuilding-api#operation/api.subscriber.signin) | Subscribes a contact through a fixed Listbuilding API key. Use this only for simple registration flows. |
| [Add or Update Contact](/management-api#operation/api.subscriber.create) | Creates the contact if needed and updates it if the email already exists. |
| [List Opt-in Processes](/management-api#operation/api.optin.index) | Lists the available opt-in processes. |
| [List Tags](/management-api#operation/api.tag.index) | Lists the available tags. |
| [List Data Fields](/management-api#operation/api.customfield.index) | Lists the available custom data fields. |
| [Tag Contact](/management-api#operation/api.subscriber.tag) | Applies one or more tags to a contact. |
| [Untag Contact](/management-api#operation/api.subscriber.untag) | Removes one or more tags from a contact. |
| [Create Tag](/management-api#operation/api.tag.create) | Creates a manual tag if the integration manages tags programmatically. |


## Example Platforms

This guide applies to webinar tools in general. It uses the following platforms as implementation examples because current KlickTipp templates already exist for them:

- `WebinarJam`
- `Zoom`
- `EverWebinar`


Most webinar tools can produce the same logical event family:

- Registration
- Live attendance
- Full live attendance
- No-show
- Replay attendance
- Full replay attendance
- Purchase during or after the webinar
- Correction events that arrive later than the first attendance result


## Required KlickTipp Data

Before you import templates or activate webhooks, create the required custom fields and tags in KlickTipp.

#### Common Minimum Fields

These fields are useful for all webinar integrations:

- Webinar choice or webinar identifier
- Webinar start timestamp
- Join URL
- Registration identifier
- Attendance duration or replay duration when the platform provides it


#### Template-Based Field Examples

The current templates for the example platforms use fields like these:

| Platform | Typical required fields |
|  --- | --- |
| WebinarJam | `Webinarjam_Webinar_selection`, `Webinarjam_Webinar_Start`, `Webinarjam_Live_room_URL`, `Webinarjam_replay_URL` |
| Zoom | `Zoom_Webinar_selection`, `Zoom_Webinar_Start`, `Zoom_Join_URL`, `Zoom_Registration_ID`, `Zoom_Duration_webinar` |
| EverWebinar | `EverWebinar_Webinar_selection`, `EverWebinar_Webinar_Start`, `EverWebinar_Live_room_URL`, `EverWebinar_replay_URL` |


When storing these values, make sure the configured field types match the payload values. For field-type details, see [Data Field Types and Input Formats](/guides/data-field-types).

## Canonical Event-to-API Mapping

Use the following model as the default mapping between webinar events and KlickTipp operations.

| Incoming event | KlickTipp action | Required effect |
|  --- | --- | --- |
| Registration created | [Add or Update Contact](/management-api#operation/api.subscriber.create) + [Tag Contact](/management-api#operation/api.subscriber.tag) | Create or update the contact, write webinar metadata, assign the registration tag. |
| Registration updated | [Add or Update Contact](/management-api#operation/api.subscriber.create) | Update webinar metadata without creating a duplicate contact. |
| Live attended | [Tag Contact](/management-api#operation/api.subscriber.tag) + optional [Untag Contact](/management-api#operation/api.subscriber.untag) | Apply the live-attended tag and remove a conflicting no-show tag if it already exists. |
| Fully attended live | [Tag Contact](/management-api#operation/api.subscriber.tag) | Apply the fully-attended-live tag. Keep the general attended tag if your campaign logic uses both. |
| No-show | [Tag Contact](/management-api#operation/api.subscriber.tag) + optional [Untag Contact](/management-api#operation/api.subscriber.untag) | Apply the no-show tag only if no later attendance event has already won. |
| Replay attended | [Tag Contact](/management-api#operation/api.subscriber.tag) | Apply the replay-attended tag. |
| Fully attended replay | [Tag Contact](/management-api#operation/api.subscriber.tag) | Apply the fully-attended-replay tag. |
| Purchase during live webinar | [Tag Contact](/management-api#operation/api.subscriber.tag) | Apply the live-buyer tag. |
| Purchase after replay | [Tag Contact](/management-api#operation/api.subscriber.tag) | Apply the replay-buyer tag. |
| Late correction event | [Add or Update Contact](/management-api#operation/api.subscriber.create), [Tag Contact](/management-api#operation/api.subscriber.tag), [Untag Contact](/management-api#operation/api.subscriber.untag) | Reconcile the contact to the final correct state. |


## Recommended Tag Model

Use stable, explicit tags that make the contact state readable to support, campaign, and automation teams.

Recommended logical states:

- `[Tool] [Webinar] Registered`
- `[Tool] [Webinar] Attended Live`
- `[Tool] [Webinar] Fully Attended Live`
- `[Tool] [Webinar] Did Not Attend Live`
- `[Tool] [Webinar] Attended Replay`
- `[Tool] [Webinar] Fully Attended Replay`
- `[Tool] [Webinar] Purchased Live`
- `[Tool] [Webinar] Purchased Replay`


Template sets often use webinar-specific names such as `Beginners` and `Experts`. Keep those names if the webinar platform routes to different webinar IDs or different campaigns.

## Tag State Machine

The integration should treat attendance and purchase updates as state transitions, not as isolated one-off tags.

#### Primary State Flow

1. `Registered`
2. `Attended Live` or `Did Not Attend Live`
3. optional `Fully Attended Live`
4. optional `Attended Replay` if the contact missed or partially watched the live webinar
5. optional `Fully Attended Replay`
6. optional `Purchased Live` or `Purchased Replay`


#### State Rules

- `Fully Attended Live` implies `Attended Live`.
- `Fully Attended Replay` implies `Attended Replay`.
- `Purchased Live` and `Purchased Replay` are commercial states, not attendance replacements.
- `Did Not Attend Live` conflicts with `Attended Live` and `Fully Attended Live`.
- Replay participation does not erase a previous live-attendance state.
- A replay purchase does not erase a live purchase unless your business model explicitly requires a single buyer tag.


#### Conflict Resolution

Use these default rules when events disagree:

| Conflict | Recommended resolution |
|  --- | --- |
| `Did Not Attend Live` arrives before `Attended Live` | Let `Attended Live` win and remove the no-show tag. |
| `Attended Live` arrives before `Did Not Attend Live` | Ignore the later no-show as stale. |
| `Attended Live` arrives before `Fully Attended Live` | Keep both tags if campaigns use both, or keep only the stronger one if your tag model is mutually exclusive. |
| Replay attendance arrives after a live no-show | Keep the no-show-live tag and add replay attendance tags. |
| Purchase arrives before attendance data | Keep the purchase tag and wait for attendance reconciliation. |
| Platform reports inconsistent durations | Send the case to manual review if the final state cannot be trusted. |


## Event Ordering and Late Corrections

Webinar platforms can deliver events out of order. Your integration must therefore separate `event arrival order` from `business truth`.

Process events like this:

1. Identify the contact by email address.
2. Identify the webinar instance by webinar ID, meeting ID, or another stable webinar key.
3. Compare the incoming event with the current stored state for that contact and webinar.
4. Apply only the state transition that makes the contact more correct, not merely newer by arrival time.
5. Remove obsolete conflicting tags when the new event is authoritative.


Examples:

- A contact may first receive `Did Not Attend Live` because the attendance job ran before delayed attendance data was available.
- A contact may later receive `Attended Live` after the platform finishes processing attendance.
- A buyer event can arrive before or after attendance data.


The integration should treat these as normal correction flows, not as fatal errors.

## Idempotency Rules

For webinar integrations, the email address is the primary contact identifier. The webinar identifier and event type form the business key for processing.

Recommended idempotency rules:

- Repeated [Add or Update Contact](/management-api#operation/api.subscriber.create) calls with the same email must update the existing contact.
- Repeated [Tag Contact](/management-api#operation/api.subscriber.tag) calls for the same tag should be safe.
- Repeated [Untag Contact](/management-api#operation/api.subscriber.untag) calls for a tag that is already absent should be safe.
- Store a processed-event key such as `platform + webinar_id + contact_email + event_type + source_event_id` when the platform provides a stable event ID.
- If the platform does not provide a stable event ID, derive a deterministic key from the event payload and processing window.


Do not assume that duplicate delivery means duplicate intent. Registration, attendance, replay, and purchase events are often retried by the source platform or the iPaaS template.

## Retry Behavior

Retries should happen only for technical failures, not for business-rule conflicts.

Retry these cases:

- Transient network failures
- Webhook timeout between the platform and your middleware
- Temporary API unavailability
- Rate limiting


Do not blindly retry these cases:

- Missing required email address
- Unknown webinar mapping
- Invalid field type for a custom field
- Contradictory attendance data without a clear winning rule


Recommended retry model:

1. Validate the payload before calling KlickTipp.
2. Retry transient failures with backoff.
3. Stop automatic retries after a bounded number of attempts.
4. Move unresolved cases to manual review with the raw event payload and the current tag state.


## Manual-Review Cases

Some cases should not be auto-resolved:

- The contact email is missing or invalid
- The webinar choice does not map to a known webinar ID
- The same contact appears under conflicting emails
- A no-show and a full-attendance result both arrive with equally strong evidence
- Duration data is missing but the template logic depends on duration thresholds
- A buyer event cannot be tied safely to a live or replay session


Mark these contacts for manual review instead of guessing.

## Step-by-Step Implementation Flow

1. Create the required data fields and tags in KlickTipp.
2. Create or identify the webinar landing page or form in KlickTipp.
3. Configure the outbound webhook or iPaaS trigger.
4. Load setup data with [List Opt-in Processes](/management-api#operation/api.optin.index), [List Tags](/management-api#operation/api.tag.index), and [List Data Fields](/management-api#operation/api.customfield.index).
5. Receive the registration event.
6. Validate email, webinar mapping, and required field values.
7. Create or update the contact with [Add or Update Contact](/management-api#operation/api.subscriber.create).
8. Apply the registration tag with [Tag Contact](/management-api#operation/api.subscriber.tag).
9. Persist the mapping between contact, webinar, and source-platform registration ID.
10. Receive later attendance, replay, or purchase events.
11. Reconcile the state using the tag state machine.
12. Add the correct tags and remove obsolete conflicting tags.
13. Retry technical failures with backoff.
14. Route unresolved conflicts to manual review.


## Example Template Notes

#### WebinarJam

The current template family for `WebinarJam` uses separate flows for:

- Registration import
- Live-attendance tagging
- Replay-attendance tagging
- Purchaser tagging


Typical data written back to KlickTipp:

- Webinar selection
- Webinar start
- Live-room URL
- Replay URL


Typical logic:

- Route by webinar type such as `Beginners` and `Experts`
- Tag live attendance
- Tag replay attendance
- Tag buyers differently depending on whether the purchase happened live or after replay


#### Zoom

The current template family for `Zoom` uses separate flows for:

- Registration
- Webinar attendance tagging
- Meeting attendance tagging


Typical data written back to KlickTipp:

- Webinar selection
- Webinar start
- Join URL
- Registration ID
- Duration


Typical logic:

- Route by webinar or meeting topic
- Calculate participation from attendance duration
- Assign separate tags for attended, fully attended, and not attended


#### EverWebinar

The current template family for `EverWebinar` uses separate flows for:

- Registration
- Live-attendance tagging
- Replay-attendance tagging
- Purchaser tagging


Typical data written back to KlickTipp:

- Webinar selection
- Webinar start
- Live-room URL
- Replay URL


Typical logic:

- Route by webinar type
- Distinguish live attendance from replay attendance
- Distinguish live purchase from replay purchase
- Apply a stronger full-attendance tag when the platform-specific attendance threshold is met


## Complete Examples

#### Example 1: Registration to Live Attendance

1. A contact submits a KlickTipp landing page form for `Zoom Beginners`.
2. The integration registers the contact in Zoom.
3. The integration writes `Zoom_Webinar_selection`, `Zoom_Webinar_Start`, `Zoom_Join_URL`, and `Zoom_Registration_ID`.
4. The integration tags the contact with `Zoom Beginners Registered`.
5. After the webinar ends, the attendance workflow checks the participant duration.
6. The integration tags `Zoom Beginners Attended Live`.
7. If the full-attendance threshold is met, the integration also tags `Zoom Beginners Fully Attended Live`.
8. If `Did Not Attend Live` was set earlier by a stale event, remove it.


#### Example 2: No-Show Corrected by Replay Attendance

1. A contact registers for an `EverWebinar` session.
2. The first attendance reconciliation marks the contact as `Did Not Attend Live`.
3. The contact later watches the replay.
4. The replay workflow tags `Attended Replay`.
5. If the replay threshold is met, tag `Fully Attended Replay`.
6. Keep the no-show-live tag because it still correctly describes the live session.


#### Example 3: Late Correction After a Wrong No-Show

1. A `WebinarJam` attendance job runs too early and sets `Did Not Attend Live`.
2. A later platform event includes valid live-attendance time stamps.
3. The integration recognizes that live attendance is the stronger state.
4. The integration adds `Attended Live`.
5. The integration removes `Did Not Attend Live`.
6. If the duration threshold is met, add `Fully Attended Live`.


#### Example 4: Purchase Without Final Attendance Data

1. A contact registers for a webinar.
2. A buyer event arrives before the attendance reconciliation job finishes.
3. The integration tags `Purchased Live` or `Purchased Replay` if the source event makes that clear.
4. The attendance state is updated later when the attendance data arrives.
5. Purchase tags remain in place because they represent a separate business outcome.


## Best Practices

- Use the Management API for event-based webinar flows.
- Keep the contact identity stable by email address.
- Keep webinar identity stable by webinar ID, meeting ID, or another deterministic webinar key.
- Separate attendance state tags from purchase state tags.
- Treat delayed correction events as normal.
- Make retries technical, not semantic.
- Use manual review when business truth cannot be derived safely.


## Summary

Reliable webinar integrations need more than contact creation.

Whether the source platform is `WebinarJam`, `Zoom`, `EverWebinar`, or another webinar tool, the integration should map registration, attendance, replay, and purchase events to deterministic KlickTipp updates, apply a clear tag state machine, resolve out-of-order events safely, retry technical failures carefully, and preserve enough webinar metadata to drive reminders and follow-up campaigns correctly.