Scribeless api integration
Build public Scribeless API and automation workflows for creating recipients, including custom HTML recipient rendering. Use when a user needs API authentication guidance, X-API-Key examples, POST /api/recipients payloads, POST /api/recipients/html payloads, product_key selection, HTML front/back rendering, Zapier/Make/Pipedream/n8n/CRM/ecommerce mappings, error handling, webhook-to-recipient mapping, or implementation review.From its SKILL.md
npx -y skills add scribeless/skills --skill scribeless-api-integrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.6 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Scribeless API Integration
Workflow
- Identify the source system:
- CRM, ecommerce store, product analytics, warehouse, form, event tool, AI agent, data pipeline, server-side automation, or custom app
- Identify the trigger:
- order created, deal stage changed, demo booked, form submitted, customer milestone, QR scan, agent-approved send, or scheduled list sync
- Confirm the Scribeless destination:
- existing campaign ID for standard campaign recipients
product_keyfor custom HTML recipient rendering- recipient data fields
- template variables required by the campaign
- Build mapping:
- source contact/customer fields to recipient fields
- source email/domain fields to recipient
emailanddomain - source event fields to
variables - generated HTML to
/api/recipients/htmlhtml.front, with optionalhtml.back - source record IDs and run IDs for audit/dedupe
- suppression rules and deduplication strategy
- Produce an example:
- curl
- JavaScript/TypeScript fetch
- Zapier/Make step outline when relevant
- Review safety:
- do not expose API keys
- do not send live requests unless the user confirms
- test standard campaign recipients against a Pending recurring campaign before activating it
- review custom HTML rendered documents before using them in a live workflow
- show returned preview
signed_urlimages to the user when validating an HTML recipient render - confirm whether the account has an active subscription or requires checkout before treating recipients as ready for fulfilment
- include retry/backoff guidance for transient failures
API Basics
- Base endpoint for campaign recipient creation:
https://platform.scribeless.co/api/recipients - Base endpoint for custom HTML recipient rendering:
https://platform.scribeless.co/api/recipients/html - Authentication header:
X-API-Key - API keys are created in platform settings.
- For
POST /api/recipients, campaigns should already exist before sending recipients through the API. - Send standard recipients to a recurring campaign while it is still Pending for test previews; after activation, new API recipients may be processed and charged.
- Send recipient email addresses and account/customer domains as first-class
emailanddomainfields instead of placing them invariables; Scribeless uses these fields for analytics and attribution. - Custom HTML recipient rendering uses
product_key,include_envelope,orientation,html, anddata. - For teams on a subscription, recipients move straight to
ready. One-time recipients may remainpendinguntil they are checked out. - Product keys identify supported postcard, flat card/note, and letter formats for HTML rendering.
Example Payload
{
"campaignId": "CAMPAIGN_ID",
"data": [
{
"firstName": "Ada",
"lastName": "Lovelace",
"company": "Example Co",
"email": "[email protected]",
"domain": "example.com",
"address": {
"address1": "123 Example St",
"city": "Bristol",
"state": "Bristol",
"postalCode": "BS1 1AA",
"country": "GB"
},
"variables": {
"plan": "VIP",
"source": "demo"
}
}
]
}
HTML Recipient Rules
- Use the
POST /api/recipients/htmlendpoint for custom HTML recipients. product_keymust match a supported product key.orientationcan belandscapeorportrait.html.frontis required for non-envelope products.html.backcan be included for duplex/front-and-back output.- Add Smart QR placeholders with an empty
div data-sqrwhen the HTML should render a tracked QR code. - Give each QR slot on the same side a unique
data-sqr-id, adata-sqr-destination, and a stable CSS size. - After a successful HTML recipient request, surface any returned
documentswithformat: "preview"andsigned_urlso the user can inspect the rendered output. - Use self-contained HTML in each side's
htmlvalue; JavaScript is disabled during rendering. - Do not rely on external stylesheets, scripts, fetch/XHR, iframes, or other network resources.
- Inline
data:image/*images are allowed. - External images must be HTTPS, publicly reachable, and must not redirect to another URL.
- Use standard web font hosting only when it is supported by the renderer; avoid depending on custom font requests unless they have been tested in rendered output.
- Keep HTML payloads deterministic and product-sized; content is rendered inside a clipped mail-piece container.
Error Guidance
401: missing, malformed, or invalid API key.400: payload validation issue; inspect required fields and variable shape.503: unexpected traffic spike or temporary service issue; retry after a short delay.
Support
- Help Center:
https://help.scribeless.co/en/ - API documentation:
https://docs.scribeless.co/ - For API or automation issues, ask the user to contact Scribeless through live chat or
[email protected].
References
- Use
references/api-workflows.mdfor examples and connector outlines. - Use
references/html-recipient-api.mdfor HTML recipient product keys and request/response examples.
What ships with it: 3 files
12.4 KB alongside SKILL.md
agents/
- openai.yaml265 B
references/
- api-workflows.md6.2 KB
- html-recipient-api.md5.9 KB