distribute-newsletter

Send published Strapi newsletters to GoHighLevel via an n8n webhook.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/clenisa/optimal-cli --skill distribute-newsletter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: distribute-newsletter
Source: https://github.com/clenisa/optimal-cli/tree/main/skills/distribute-newsletter
Command: npx skills add https://github.com/clenisa/optimal-cli --skill distribute-newsletter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates pushing a published Strapi newsletter into an email distribution workflow, eliminating manual export, campaign creation, and delivery tracking tasks so teams can reliably send blasts with minimal manual effort.

Core Features & Use Cases

  • Fetch & Validate: Retrieves the newsletter by documentId from Strapi and ensures it is in a published state with a non-empty html_body.
  • Brand Targeting & Test Sends: Determines brand from the newsletter or accepts an explicit override and supports test recipient lists for previewing.
  • Orchestration via n8n: Fires a configured n8n webhook with the payload (documentId, brand, html_body, subject_line, sender_email, test) and relies on the n8n workflow to create GoHighLevel campaigns, target recipients, and perform retry logic.
  • Delivery Polling & Verification: Polls the newsletter delivery_status until delivered/partial/failed, verifies delivered_at and recipients_count, and logs activity for auditability.
  • Use Case: Send a scheduled Strapi newsletter to brand-specific subscribers, validate delivery, and record recipients and timestamps in Strapi.

Quick Start

Use the distribute-newsletter skill to send the published Strapi newsletter with documentId abc123-def456 to GoHighLevel via the configured n8n webhook.

Frequently Asked Questions about distribute-newsletter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send a Strapi newsletter to GoHighLevel subscribers?

To distribute a Strapi newsletter to GoHighLevel, this skill validates the published document, extracts the html_body, and fires an n8n webhook with the payload to trigger GoHighLevel email campaign creation and delivery.

What do I need to set up before automating Strapi newsletter distribution with n8n?

Before distributing Strapi newsletters via n8n, you need a published Strapi document with a valid html_body, your STRAPI_URL, STRAPI_API_TOKEN, and a configured N8N_WEBHOOK_URL to successfully trigger the GoHighLevel campaign.

Can I target specific brands or send test emails when pushing Strapi newsletters to GoHighLevel?

Yes, Strapi newsletter distribution supports brand targeting derived from newsletter metadata or explicit overrides, and allows test recipient lists for previewing GoHighLevel email campaigns before full deployment.

How does the n8n webhook verify Strapi newsletter delivery status?

Newsletter delivery is verified by polling the Strapi delivery_status field until it returns delivered, partial, or failed, while checking delivered_at timestamps and recipients_count with configured timeout and retries for auditability.

What happens if my Strapi newsletter is not published or has an empty html_body?

The distribution workflow halts if the Strapi newsletter lacks a published state or contains an empty html_body, preventing the n8n webhook from firing and avoiding incomplete GoHighLevel email campaign delivery.