Skip to main content

Connect to N8N

1,000+ apps are ready to be integrated with

Written by Victor
Updated over 2 weeks ago

By using N8N with your StoryChief account, you can create custom workflows that trigger when you complete actions.

In this article:

🔔 Note: This help article is a basic guide; N8N has lots of possibilities to tinker with.

Error handling, retry policies etc. won't be covered in this article.


Start connecting to N8N

1. StoryChief as trigger

Step 1. On N8N, create a new workflow. In the workflow, select 'New workflow'.

Click on '+' to add a first step. In the sidebar, choose 'On a webhook call'.

Step 2. Set up the webhook URL to customize the HTTP method, path, authentication and response method.

  • HTTP Method: POST

  • Path: Leave as-is or tailor to your preference

  • Authentication: None

  • Respond: Using ‘Respond to Webhook’ Node

Step 3. Add an action and choose for "Repond to Webhook". Configure the following fields:

  • Respond With: JSON

  • Response Body:

    • ID: An ID of the content on the platform where it's published

    • Permalink: A public URL to check that the article is live

    • Mac: The encryption key from your website (see step 4)

Step 4. In StoryChief, go to the channels, API and choose "Add new destination".

Here, you can paste the webhook URL and retrieve the encryption key for your workflow (optional).

Also check out the help article on how to set up a custom website 👉 Quick link.

🔔 Note: When tinkering with the workflow, use the test URL. When everything is set up, switch the webhook URL to the production URL.


2. StoryChief actions

Prerequisite: In StoryChief, go to the API section and fetch your API key 👉 Quick link.

Step 1. In a new or existing workflow, select "+" to add a new action to the flow. In the sidebar, choose "Core".

Step 2. In the Core options, you will see HTTP Request, which opens a settings modal.

Step 3. In this modal, choose the correct request method (GET, POST, ..) and paste the corresponding URL (see https://developers.storychief.io/).

Depending on the "?includes[]" fields, it's possible to send parameters along.

Alternatively, it's possible to paste the cURL request in the documentation to prefill the fields.

Did this answer your question?