Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/guidewire-webhooks-integrations

@0d57af8
Run it yourself

Consume Guidewire App Events into downstream systems (SQS/SNS, Kafka, webhooks) and survive the event-side failures — events not firing because Gosu registration was missed, duplicates from queue redelivery, out-of-order arrival on the same resource, replay from a checkpoint for backfill, and back-pressure when consumers cannot keep up with producers. Use when registering App Events in Gosu, building an event-consumer service, or recovering from a missed-event window. Trigger with "guidewire app events", "guidewire webhooks", "guidewire event consumer", "guidewire event replay", "guidewire idempotent consumer".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/guidewire-webhooks-integrations

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesAPI_REFERENCE.md

≈1.7k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Guidewire Webhooks & Event Integrations — Reference

Event payload schemas, messaging configuration, and consumer-side patterns supporting SKILL.md.

Standard event payload shape

Every Guidewire-emitted event carries a common header followed by a per-event-type body:

{
  "messageId": "5f9d6f8e-7c3a-4b2e-9c1d-1e2f3a4b5c6d",
  "eventType": "claim.status.changed",
  "eventTime": "2026-04-15T14:30:00.123Z",
  "tenant": "acme",
  "correlationId": "8b1f9c2e-...-...",
  "schemaVersion": "1.0",
  "payload": {
    "claimId": "cc:8001",
    "claimNumber": "CLM-2026-0001",
    "oldStatus": "Open",
    "newStatus": "Closed"
  }
}

messageId is the dedup key. correlationId ties the event back to the originating user action / API call (cross-references integration_audit from guidewire-security-and-rbac). schemaVersion enables forward-compatible consumer behavior across future payload changes.

Common event types

The list is carrier-configurable but the typical shape:

Event type Fired when
account.created new account registered
submission.quoted submission moves Draft → Quoted
submission.bound submission moves Quoted → Bound
policy.issued bound policy moves to In Force
policy.endorsed endorsement bound
policy.renewed renewal bound
policy.cancelled cancellation effective
claim.created FNOL accepted
claim.status.changed claim status transitions (Open → Closed, Closed → Reopened)
claim.reserve.changed reserve created or amount changed
claim.payment.created payment requested
claim.payment.status.changed payment moves through approval states
claim.activity.completed required activity marked complete

Subscribe to only the events the downstream system actually needs; subscribing to everything multiplies queue throughput and consumer cost without value.

Messaging.xml destination configuration

<MessagingConfig>
  <Destination ID="acme-claim-events" 
               TransportClass="com.acme.messaging.SqsTransport" 
               Suspendable="true">
    <Property Name="queueUrl" Value="https://sqs.us-east-1.amazonaws.com/123/gw-claim-events" />
    <Property Name="awsRegion" Value="us-east-1" />
  </Destination>
  <MessageEvent Type="claim.status.changed" Destination="acme-claim-events" />
  <MessageEvent Type="claim.payment.status.changed" Destination="acme-claim-events" />
</MessagingConfig>

The Suspendable="true" flag lets administrators pause emission without dropping events — InsuranceSuite queues internally until resumed. Useful for deploy windows where the downstream consumer is offline by design.

Idempotency datastore options

Datastore TTL recommendation Tradeoff
Redis with EXPIRE 7d (≥queue retention) Fastest; data loss on Redis flush risks duplicate processing
Postgres table with index on messageId 30d Persistent; slightly slower; requires periodic cleanup of expired rows
DynamoDB with TTL 30d Managed; auto-expiry; consistent across regions

The choice depends on throughput and durability requirements. High-throughput consumers (>1k events/sec) prefer Redis with periodic snapshot to Postgres for recovery; lower-throughput consumers can use Postgres directly.

Deferred-events queue schema

CREATE TABLE deferred_events (
  id UUID PRIMARY KEY,
  message_id UUID UNIQUE NOT NULL,
  event_type TEXT NOT NULL,
  reason TEXT NOT NULL,                  -- "waiting-on-claim-created", "missing-exposure-parent"
  payload JSONB NOT NULL,
  first_attempted_at TIMESTAMPTZ NOT NULL DEFAULT now(),
  last_attempted_at TIMESTAMPTZ NOT NULL DEFAULT now(),
  attempt_count INT NOT NULL DEFAULT 1,
  escalate_after TIMESTAMPTZ NOT NULL DEFAULT (now() + interval '24 hours')
);

CREATE INDEX deferred_events_due ON deferred_events(escalate_after) 
  WHERE attempt_count < 100;

A periodic job (every minute) scans for events past last_attempted_at + backoff and re-enters them through the consumer pipeline. Events past escalate_after route to a manual-review queue.

Replay APIs

Server-side event-replay availability varies by tenant. Where available, the Cloud API event endpoint:

GET /cc/rest/v1/events?eventType=claim.status.changed&since=2026-04-15T00:00:00Z&until=2026-04-15T23:59:59Z

Pagination via offsetToken per guidewire-sdk-patterns. Each event in the response has the same shape as the live-emitted payload, so the consumer's existing handler is the replay handler — no parallel code path.

If server-side replay is not available for a given tenant, the consumer's local checkpoint + write-through audit log is the only replay substrate; this is why the audit-log discipline matters.

Kafka partitioning strategies

For high-volume event integrations using Kafka instead of SQS, partition by entity id to preserve in-order delivery per entity:

Partition key Effect
claimId all events for one claim hit the same partition; consumer for that partition processes them in order
policyId same, for policy events
tenantId per-tenant partitioning; useful for multi-tenant fan-out
(none / random) maximum throughput, no ordering guarantee — only safe with idempotent consumer

Idempotent consumer is required regardless — Kafka delivers at-least-once even with strict partitioning.

Schema evolution

Events evolve over time (new fields, occasionally removed fields). Consumers must tolerate without breaking:

  • New optional field added → consumer ignores; no version bump
  • New required field added → producer-side coordination required; bump schemaVersion
  • Field removed → producer-side coordination required; bump schemaVersion; consumer reads with default

The consumer should log unknown fields it does not yet handle, not error. Strict-parsing breaks compatibility every time the producer adds a field; lenient parsing breaks compatibility only on actually-removed fields.

Multi-tenant event fan-out

When the same Guidewire integration serves multiple tenants and downstream consumers, route events to per-tenant queues:

<MessageEvent Type="claim.status.changed" 
              Destination="claim-events-{Tenant}" 
              ConditionExpression="claim.Policy.Tenant" />

Per-tenant queues isolate noisy tenants and let each tenant's consumer scale independently. Cost: more queues to manage; benefit: blast-radius containment when one tenant's consumer falls over.

Related references

  • references/implementation-guide.md — extended walkthrough
  • Sibling guidewire-core-workflow-a/references/API_REFERENCE.md — workflows that emit policy events
  • Sibling guidewire-core-workflow-b/references/API_REFERENCE.md — workflows that emit claim events
  • Sibling guidewire-observability-and-incident-response/references/API_REFERENCE.md — queue-depth alerting

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides instructional content and code templates for building Guidewire event-driven integrations. It focuses on best practices for reliability and security in webhook consumers, including signature verification and idempotency. No malicious patterns or security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.26.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
compatibility
Designed for Claude Code
All 8 allowed tools
ReadWriteEditBash(curl:*)Bash(jq:*)Bash(aws:*)GrepGlob
Other metadata
tags
[
  "guidewire",
  "app-events",
  "webhooks",
  "event-driven",
  "idempotency",
  "replay"
]

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/guidewire-webhooks-integrations