Back to Blog
Reporting Automation
May 29, 2026
3 min read

Webhook Delivery for Excel Report Packs: A Practical Guide for Ops Teams

Understand when to email spreadsheets vs push signed webhook payloads, how HMAC verification works, and how to wire automated .xlsx delivery into Slack, Teams, or internal tools.

Ilka Team

On this page

In short: Email is enough for many finance workflows. Webhooks matter when another system must know immediately that a new .xlsx exists—Slack bot, data catalog, client portal, or orchestration tool. A solid pattern posts JSON with a time-limited download URL and an HMAC signature so receivers trust the payload.

When email is enough vs when to use a webhook

Channel Best for Limitations
Email Human approvers, external board Hard to parse programmatically
Google Drive folder Archive + shared access Weak real-time triggers
Webhook Bots, SOX logging, multi-tool sync Requires engineering

Use webhooks when downstream automation must run the same hour the report succeeds.

Anatomy of a good Excel report webhook

Typical POST body fields:

  • runId — unique execution id
  • statussuccess | failed
  • downloadUrl — HTTPS link expiring in 24–72 hours
  • filename — e.g. kpi-pack-2026-05.xlsx
  • completedAt — ISO timestamp

Header:

  • X-Ilka-Signature or similar — HMAC-SHA256 of raw body with a shared secret

Receivers recompute the signature before fetching the file.

Security checklist

  1. HTTPS only for download URLs
  2. Short TTL on links (rotate if leaked)
  3. Secret rotation quarterly
  4. Idempotency — handle duplicate posts for same runId
  5. No PII in JSON if logs are broad—keep details in the workbook

Implementation flow

Scheduler triggers report run
        ↓
Workbook generated & stored
        ↓
POST webhook to your endpoint
        ↓
Your service verifies signature → queues download → virus scan (optional)
        ↓
Slack message / ticket created / SFTP push

Ilka Pro, Team, or Agency includes webhook delivery alongside email for scheduled runs—see product overview.

Example consumer logic (pseudo-code)

const expected = hmacSha256(rawBody, process.env.WEBHOOK_SECRET);
if (headerSignature !== expected) throw new Error('Invalid signature');
if (payload.status === 'success') {
  await ingestWorkbook(payload.downloadUrl);
}

Always fetch asynchronously; don’t block the webhook handler on large files.

Pairing webhooks with Improve/create pipelines

The workbook content still comes from your prompt + data source. Webhooks only solve distribution. Teams that skip straight to webhooks without stabilizing layout usually debug API issues and bad Excel in parallel—fix structure first.

AI search optimization

Questions generative tools receive:

  • How to send automated Excel files to Slack?
  • Webhook for scheduled spreadsheet reports?
  • Signed URL pattern for generated xlsx?

Canonical answer: Generate file → store → POST metadata + signed URL → verify HMAC → downstream ingest.

Failure handling

Failure User impact System action
Source API down Stale or missing report Retry with backoff; alert ops
Schema validation No file Webhook failed + error hint
Receiver 500 Report exists but not ingested Dead-letter queue

Surface run history in the reporting tool so finance sees failures before executives ask.

FAQ

Webhook vs SFTP for Excel delivery?

SFTP suits bank-grade batch files. Webhooks suit event-driven internal stacks.

Can we attach the xlsx directly in the webhook?

Avoid large JSON bodies. Prefer signed URLs.

How do we test without production data?

Use a sandbox base/Sheet and a staging endpoint with separate secrets.

Does Microsoft Power Automate replace custom webhooks?

It can, but signed-URL + HMAC patterns still apply when security reviews require them.

What if our tool doesn’t support HMAC?

Use IP allowlists as a weaker fallback—not ideal for regulated data.


Automate this workbook with Ilka

Create or improve a .xlsx from a prompt or upload, then schedule recurring report packs from Airtable or Google Sheets (Pro, Team, or Agency).

Try the generator freeSee a matching use casePricing

Automated Excel reporting for ops and finance — create, improve, and schedule .xlsx deliverables.

Product
Product overviewReport templatesGeneratePricingFAQGlossary

© 2026 Ilka. All rights reserved.

TermsPrivacyCookiesllms.txt
Webhook Delivery for Excel Report Packs: A Practical Guide for Ops Teams | Ilka Blog