This n8n workflow automates content creation and posting on LinkedIn, including group-specific posts, by integrating Google Sheets, OpenAI, and LinkedIn APIs. The process begins by monitoring a Google Sheet for new post topics labeled ‘Pending’. When a new topic is detected, the workflow first verifies the post status.
If the status is ‘Pending,’ the workflow proceeds to generate an engaging LinkedIn post using OpenAI’s GPT-4 model. The post content is crafted based on the topic, following specific formatting instructions. Once the content is generated, it is parsed and formatted appropriately.
Next, the workflow retrieves the LinkedIn user details to authenticate the post credentials and then posts the content directly to the user’s LinkedIn profile via the LinkedIn API. Simultaneously, it fetches group IDs from another Google Sheet and makes batch posts to multiple LinkedIn groups, enhancing engagement within community groups.
After successfully posting, the workflow updates the Google Sheet to mark the asset as ‘Posted’, maintaining a clean status workflow. This automation is useful for social media managers, marketers, or businesses that want to streamline their content publishing process across personal profiles and groups on LinkedIn without manual intervention.
Reviews
There are no reviews yet.