Quote

Goal: Fully automate the process of creating and publishing viral content — from searching for trending news to ready-made videos on social networks, saving hours of manual work and guaranteeing a stable flow of high-quality content.

Scope of application: Suitable for any niche where regular visual content is important

- Personal branding and promotion

- Marketing agencies and SMM specialists

- Media and news projects

- Bloggers and content makers

- Business social media accounts

1 Block. News collection and analysis
  • Schedule Trigger — starts the process on schedule.
  • HTTP Request (Tavily) — sends a request to Tavily to extract content from the news URL.
  • Generate Session ID — generates a unique ID for a session of interaction with OpenAI agents.
  • Headlines List — turns an array of headings into a numbered list.
  • AI Agent1 — selects the best title and explains the choice.
  • Simple Memory+ Parser — save and process the response in a structured form.
2 Block. Generating scripts and prompts
  • 4o-mini1 (Viral Scripter) — creates a full text/script based on the selected news.
  • Prompt Generator (4o-mini2+ Parserx) — generates 4-5 Midjourney style prompts (action, setting, quality).
  • Captions (Chain LLM) — makes a short descriptive text (caption) with hashtags for social networks.
Block 3. Video and music creation
  • Replicate (Loop Over Items + Rendering Videos) — Sends each prompt to Replicate and waits for the video to be generated.
  • Create Music → Rendering Music → Get Music — generates a music track via Replicate.
  • Google Drive (Set Permissions+Make URL) — makes the link to music public.
  • Merge1 — combines video, music, credits, script.
  • Shotstack+ Wait + Get Videos — sends for editing and waits for the final video.
4 Block. Publication
  • Set Accounts — sets the social media ID and Blotato API key.
  • Upload — sends the final video to Blotato for further publication.
  • TIKTOK/YOUTUBE/INSTAGRAM/LINKEDIN/ FACEBOOK — ready-made HTTP requests to the Blotato API for posting to each platform. The required node is activated depending on the platform.

‍ Tools:

To customize your preferred video themes via Brutalist, you can go to the site https://brutalist.report/ , then choose your preferred topic.

Copy the link to the section you need

And in the HTTP Request “Get Brutalist Data” node, paste this link into the URL section

Next, go to Tavily and copy the Api key https://app.tavily.com/home

Then insert the API key into the Tavily node

Now connect Credentials OpenAI for language models to work

Create and copy the Api key: https://platform.openai.com/api-keys

In one of the 4o-mini nodes, click Create new credential

Then paste the copied API key into the API key field

In a node Viral Script Writer a video script is generated, here you can edit the prompt for the video format you need.

In a node Prompt Generator You can also change the upper prompt block to the video style you need, in my example, it states that the video is in the anime style. You can also customize this instruction directly for yourself.

Below are important global conditions, make changes here carefully.

If you don't fully understand English, use a translator.

Next, for nodes where Replicate is used:

Let's go to Replicate: https://replicate.com/account/api-tokens

Connect the map and then get access to the API keys.

Generate an API key and copy it

Go through all the nodes where Replicate is used and paste the copied API key into the section Header Parameters afield Value under the parameter Authorization

Structure: Bearer dfifjdisjkf48u328e2j  ←— your api key

Node HTTP Request1 makes a request to Eleven Labs

To connect it via Api, go to https://elevenlabs.io/app/settings/api-keys

Click here Create API Key and copy your api key

And under xi-api-key in the field Value insert your api key

The URL section also contains:  https://api.elevenlabs.io/v1/text-to-speech/ + The ID of the voice you need, for example  https://api.elevenlabs.io/v1/text-to-speech/0BcDz9UPwL3MpsnTeUlO

To select the voice you need, go to Elevenlabs in the library section and there will be a +Add button to the right of the voice, after clicking on it, the voice will be added to your My Voices section

In My Voices, to the right of the voice, click View

And copy the ID

Now go to ShotStack

And go to the API Keys section

Here, copy the API key for Production

And in n8n under x-api-key in the Value field, paste the copied api key

Here, in the JSON section, you can also edit the video editing logic and change the structure to suit you

Here you can read the documentation https://shotstack.io/docs/guide/

Also insert the ShotStack API key into the node Get Videos according to the principle described above.

IN https://my.blotato.com/settings copy your api key

Next in the Set Accounts node

In the blotato_api_key parameter in n8n, insert your api key

And also the ID of the social network you need

It's done.
You now have your own 24/7 personal content factory.

You can always get a ready-made template and instructions in video format by joining our unique Automation club.

Читайте также