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

/salesloft-webhooks-events

@0d57af8
Run it yourself

Verify and process Salesloft webhooks using exact raw-body SHA-1 HMAC, callback-token validation, event routing, durable deduplication, and reconciliation. Use when building or auditing a webhook receiver. Trigger with "Salesloft webhook", "Salesloft signature", or "Salesloft event handler".

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈80 tokens for metadata: the name and description. ≈868 when used: this file. ≈715 more on demand in 1 file.

Description uses 4.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈320 characters, or 4.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Salesloft Verified Webhook Processing

Overview

This skill accepts a delivery only after authenticating its exact bytes and subscription secret. It makes side effects idempotent even though the general delivery contract does not expose a timestamp replay header.

Prerequisites

  • Approved HTTPS callback URL and event type
  • Webhook subscription with a high-entropy callback token
  • Raw-body access before JSON parsing
  • Durable deduplication store and reconciliation owner

Tool Discipline

Use Read, Glob, and Grep to inspect body parsing, signature comparison, queues, and side effects. Use WebFetch only for current official Salesloft webhook documentation. Use Write or Edit after the handler boundary is confirmed.

Current Contract

  • x-salesloft-event identifies the delivered event type.
  • x-salesloft-signature is the hexadecimal SHA-1 HMAC of the exact response/request body using callback_token as the key.
  • The callback token is also included in each event payload and should be validated.
  • Failed deliveries are retried three additional times, 15 seconds apart.
  • Subscription scopes vary by event type and must be checked in the current event table.

Authentication

Protect the callback token as a secret. Compute the expected HMAC from the exact raw body, decode hex safely, require equal lengths, and use constant-time comparison before parsing or queuing.

Instructions

  1. Capture raw bytes and required headers before any middleware transforms the body.
  2. Reject missing, malformed, unequal-length, or non-matching signatures.
  3. Parse JSON only after signature success and validate the callback token and expected event type.
  4. Derive a stable deduplication key from event type plus canonical business identifiers and payload digest.
  5. Persist receipt and dedup state before acknowledging or dispatching side effects.
  6. Process asynchronously with bounded retries and reconcile missed changes through API reads.
  7. Test tampering, malformed hex, duplicate delivery, retry, queue failure, and rotated token behavior.

Approval Boundaries

Do not create or change a subscription, callback URL, event scope, or production token without owner approval. Reject unverifiable events rather than accepting them for debugging convenience.

Output

Return event type, signature and callback-token verdicts, dedup key, queue receipt, processing result, retry state, and reconciliation status without payload data.

Error Handling

Condition Response
Signature mismatch Reject before parsing and record redacted metadata.
Duplicate delivery Return prior outcome without repeating side effects.
Handler failure Preserve receipt and use bounded internal retry.
Missed event suspected Reconcile through the relevant read endpoint or cursor poller.

Examples

The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.

event=person_updated; signature=pass; callback-token=pass; duplicate=no; queued=yes

Resources

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.

1 warning2mo2 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides guidelines for securely handling Salesloft webhooks using HMAC signature verification. It inherently possesses an indirect prompt injection surface due to processing external webhook payloads, though it mandates strict validation protocols to mitigate these risks.

  • Snyk2mo

    Risk: MEDIUM · 1 issue

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 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[repository-path] [event-type]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "salesloft",
  "webhooks"
]
model
inherit
effort
medium
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/salesloft-webhooks-events