DOCUMENT OPS

Scan S3-uploaded contracts for broken digital signature blocks

On every contract PDF uploaded to an S3 bucket, validates the embedded PKCS#7 signature block and certificate chain.

CategoryDocument Ops
Enginesim
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerObject created under S3 contracts/ prefixAWS S3
  • ActionFetch PDF and validate PKCS#7 signature blockShell
  • LogicBranch on signature valid vs. invalid/missing
  • ActionCopy to verified/ or move to quarantine/ in S3AWS S3
  • OutputLog signer, time, and verdict to Notion audit DBNotionNotion

What it does

This workflow inspects the cryptographic signature embedded inside each contract PDF, not just the file bytes. When a document is uploaded to S3, it extracts the PKCS#7 signature block, validates the signer certificate chain and the signed byte range, and decides whether the signature actually covers the document as delivered. Documents with a broken, missing, or post-signing-modified signature are quarantined and recorded.

When to use it

Use this when your contracts carry real digital signatures (Adobe/DocuSign certificate-based) and you need to confirm the signature is valid and untampered, rather than only matching a stored hash. Best for regulated workflows that must prove signature integrity for audit.

How it works

  1. 1An object-created event in the S3 `contracts/` prefix triggers the run.
  2. 2The PDF is fetched and a shell step runs signature validation, extracting signer, signing time, and a valid/invalid verdict.
  3. 3A logic branch routes on the verdict.
  4. 4Valid signatures are copied to the `verified/` prefix; invalid ones are moved to `quarantine/`.
  5. 5Every result, with signer and reason, is written as a row to a Notion audit database for the compliance log.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect AWS S3Buckets, objects, signed URLs.
  2. 2
    Connect ShellRun sandboxed commands inside the workspace.
  3. 3
    Connect NotionPages, databases, comments.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.