Automate Your Content Publishing with Webhooks
Manually publishing your content can be time-consuming and tedious. Automate this process and send your articles directly to your CMS with just one click.
What is a Webhook?
A webhook is a mechanism that allows one application to automatically send data to another when a specific event occurs.
In our case, when a piece of content is marked as published in Semji, a webhook sends its data (title, HTML content, Content Score, etc.) to your CMS or any other connected tool.
Why use a Webhook?
✅ Automated publishing – No more copying and pasting articles into your CMS.
✅ Seamless tool integration – Automatically update Google Sheets, Notion, Asana, and more.
✅ Time savings & error reduction – Avoid repetitive manual tasks.
Available data
Key fields:
created_at
: Content creation datedue_date
: Due date (if applicable)content_score
: SEO optimization scorehtml
: HTML content of the articletext
: Plain text contenttitle
: Title of the articlemeta_description
: Meta description of the articlewords_count
: Number of words in the articleassigned_to
: Assigned author (ID, first name, last name, email)published_at
: Publication datepublished_by
: Information about the person who published the article (ID, first name, last name, email)content_status
: Content statusfolder
: Folder where the article is stored (ID, name)page
: Page details (ID, URL, source, etc.)page_focus_keyword
: Primary keyword (term, search volume, position, etc.)workspace
: Workspace information (ID, name, website URL, language)organization
: Organization information (ID, name, creation date)
How to configure a Webhook in Semji?
1. Check Your CMS Compatibility
There are two methods available:
- CMS compatible with Make, Zapier, or N8n – You can set up automation without coding.
- CMS not compatible – A developer will need to set up an API endpoint to receive the data from Semji and integrate it into your website.
2. Create a Webhook in Semji
- Go to Settings – Navigate to the General tab in your workspace.
- Add a Webhook – Click on “Add a Webhook.”
- Configure the URL – Paste the Webhook URL generated by Make, Zapier, or your custom API.
- Test your Webhook – Publish a test article to ensure that the data is successfully transmitted.
3. Configure Integration with an Automation Tool (e.g., N8n)
For example, if you use N8n, follow these key steps:
-
Create a Workflow in N8n
- Add a Webhook Trigger
- Configure the HTTP method as POST
- Copy the generated URL and paste it into Semji
-
Retrieve Data from Semji
- Extract essential details: HTML content, title, meta description, publication date, etc.
-
Send Data to Your CMS
- Check if the article already exists
- Create a new article or update an existing article in WordPress using the REST API (
/wp-json/wp/v2/posts
)
-
Test and Activate Your Workflow
- Publish an article in Semji and check if it appears in your CMS.
📌 Download our N8n workflow example for WordPress: This file allows you to directly integrate automated publishing of your articles into WordPress.
If you’re not familiar with setting up webhooks on these platforms, refer to their official documentation:
Example of JSON sent by Semji
{
"data": {
"created_at": "2025-05-22T12:37:29+00:00",
"due_date": null,
"content_score": 0.40853528911565,
"html": "<h1>AI Agents in 2025: Transforming Business Operations and Autonomous Decision-Making</h1><p>AI agents represent a groundbreaking evolution in artificial intelligence technology. These autonomous software systems perceive their environment, make decisions, and take actions to achieve specific goals with minimal human intervention. From streamlining business operations to enhancing customer service, AI agents are transforming how organizations work in 2025. With advanced capabilities in reasoning, planning, and self-improvement, these intelligent systems are becoming essential tools for companies seeking to automate tasks and improve operational efficiency.</p><h2>The Evolution of Intelligent Software Systems</h2><h3>Core Components of Modern AI Agents</h3><p>[...]</p><h3>How Autonomous Decision-Making Works</h3><p>[...]</p><h3>The Role of Machine Learning in Agent Development</h3><p>[...]</p><h2>Understanding Different Types of AI Agents</h2><h3>Simple Reflex Agents in Business Applications</h3><p>[...]</p><h3>Goal-Based Intelligent Systems</h3><p>[...]</p><h3>Learning Agents with Advanced Capabilities</h3><p>[...]</p><h3>Utility-Based Decision Making Platforms</h3><p>[...]</p><h2>Major Players Shaping the AI Agent Landscape</h2><h3>Microsoft's Copilot and Enterprise Solutions</h3><p>[...]</p><h3>Google's Advanced Agent Architecture</h3><p>[...]</p><h3>AWS Agent Development Tools</h3><h2>[...]</h2>",
"text": "AI Agents in 2025: Transforming Business Operations and Autonomous Decision-MakingAI agents represent a groundbreaking evolution in artificial intelligence technology. These autonomous software systems perceive their environment, make decisions, and take actions to achieve specific goals with minimal human intervention. From streamlining business operations to enhancing customer service, AI agents are transforming how organizations work in 2025. With advanced capabilities in reasoning, planning, and self-improvement, these intelligent systems are becoming essential tools for companies seeking to automate tasks and improve operational efficiency.The Evolution of Intelligent Software SystemsCore Components of Modern AI Agents[...]How Autonomous Decision-Making Works[...]The Role of Machine Learning in Agent Development[...]Understanding Different Types of AI AgentsSimple Reflex Agents in Business Applications[...]Goal-Based Intelligent Systems[...]Learning Agents with Advanced Capabilities[...]Utility-Based Decision Making Platforms[...]Major Players Shaping the AI Agent LandscapeMicrosoft's Copilot and Enterprise Solutions[...]Google's Advanced Agent Architecture[...]AWS Agent Development Tools[...]",
"title": "AI Agents: Understanding Their Role and Impact",
"meta_description": "AI agents autonomously perform tasks, enhance efficiency, and transform industries. Learn how they impact our world and drive innovation.",
"words_count": 145,
"assigned_to": {
"id": "d63553ad1ec0",
"created_at": "2020-12-11T09:57:09+00:00",
"first_name": "Olivier",
"last_name": "B",
"email": "example@semji.com"
},
"published_at": "2025-05-22T00:00:00+00:00",
"published_by": {
"id": "d63553ad1ec0",
"created_at": "2020-12-11T09:57:09+00:00",
"first_name": "Olivier",
"last_name": "B",
"email": "example@semji.com"
},
"content_status": null,
"folder": null,
"page": {
"id": "768c707ec3c6",
"created_at": "2025-05-22T12:37:29+00:00",
"url": "https://blog.overnetcity.com/agents",
"is_existing_content": false,
"source": "semji_content",
"redirection_url": null,
"last_status_code": null
},
"page_focus_keyword": {
"created_at": "2025-05-22T12:37:31+00:00",
"keyword": "ai agents",
"impressions": null,
"clicks": null,
"position": null,
"ctr": null,
"search_volume": 18100
},
"workspace": {
"id": "17a22e3a934e",
"name": "Blog Overnetcity",
"website_url": "https://blog.overnetcity.com",
"country_code": "US",
"language_code": "en"
},
"organization": {
"id": "64cb7880383f",
"name": "Olivier B - Custom",
"created_at": "2022-03-23T13:12:12+00:00"
}
},
"event_type": "content_published",
"occurred_at": "2025-05-22T12:47:36+00:00"
}
Other practical use cases
- Update a Google Sheets Dashboard➡️ Automatically add each published article along with its SEO data (title, score, date, main keyword, etc.) to a Google Sheets file for easy tracking.
- Create an Asana Task for Follow-up ➡️ Every new published article automatically creates an Asana task to inform the marketing team that the content is ready for email campaigns, social media posts, etc.
- Send a Slack / Microsoft Teams notification➡️ Automatically notify your team when an article is published by sending a notification to Slack or Microsoft Teams, improving internal communication.
- Automatically create a Tweet or LinkedIn post➡️ Instantly share your newly published content on Twitter and LinkedIn to boost visibility and drive traffic to your website.