Search news using Perplexity AI and post to X (Twitter)

Automatically searches for the latest news in artificial intelligence every 21 hours and posts a concise summary to X (Twitter), keeping followers informed with timely updates.

7/4/2025
5 nodes
Simple
schedulesimpleschedule triggertwitterautomationcronapiintegration
Categories:
Social Media ManagementSchedule TriggeredSimple Workflow
Integrations:
Schedule TriggerTwitter

Target Audience

This workflow is ideal for social media managers, tech enthusiasts, and content creators who want to stay updated with the latest news in artificial intelligence. It automates the process of searching for news articles and posting them on Twitter, saving time and ensuring timely updates. Additionally, businesses in the tech sector can benefit by sharing relevant news with their audience to enhance engagement and credibility.

Problem Solved

Keeping up with the fast-paced developments in artificial intelligence can be challenging. This workflow automates the news gathering and posting process, ensuring that users receive relevant updates without the need for manual searching or posting. It addresses the issue of time constraints and helps maintain an active social media presence with minimal effort.

Workflow Steps

  • Schedule Trigger: The workflow starts automatically every 21 hours at a random minute, ensuring regular updates.
    2. Set Search Query: A predefined query, 'What's the latest news in artificial intelligence?', is set to guide the news search.
    3. API Key Configuration: The workflow retrieves the Perplexity API key, allowing access to the news data.
    4. Perplexity API Call: The workflow sends a request to the Perplexity API, which returns a summarized article based on the search query. The response includes a headline and a link to the article.
    5. Post to Twitter: Finally, the summarized article is posted to Twitter, ensuring that followers receive the latest news in a concise format.
  • Customization Guide

    Users can customize this workflow by changing the search query in the 'Set Search Query' step to focus on different topics of interest. Additionally, the posting frequency can be adjusted in the 'Schedule Trigger' node to fit the user's needs. Users should replace '' with their actual Perplexity API key in the 'Set API Key' node. To enhance engagement, users can modify the Twitter posting text format or add additional fields in the 'Post to X' node.

    Search news using Perplexity AI and post to X (Twitter) - N8N Workflow Directory