WorkflowChatGPTOpen

n8n Instagram ManyChat ChatGPT bot workflow

This n8n workflow is the AI part of an Instagram chatbot that runs through ManyChat. It is for businesses that answer Instagram direct messages and want ChatGPT to reply, with ManyChat handling the connection to Instagram and n8n holding the AI logic and memory.

What it does

A webhook receives each new Instagram message from ManyChat, a Set node holds your system prompt, and an AI agent with ChatGPT and local memory writes the answer. The reply goes back to ManyChat in the webhook response, and ManyChat sends it to Instagram.

How to use it

Write your system prompt in the Set node, add an OpenAI credential, and point a ManyChat external request at the webhook URL.

Requirements and limits

The author calls this the main part of a larger solution; ManyChat is required.

More in ChatGPT and the n8n workflow library.

Full text

Front matter
name: InstaTest
description: Triggered by a webhook. Connects Respond To Webhook, Webhook. ## Easy Instagram(via ManyChat) bot - ### Description: This template is a main part of Entire solution. It's getting new message from Instagram via ManyChat(Extra No-Code tool for getting and sending message in Instagram). Generating message using ChatGPT and send back to ManyChat that sends it to Instagrtam. ### Logic: 1. Getting message from Instagram(from ManyChat) 2. Set you system prompt for AI 3. Create simple answer for message in AI block 4. Send answer to Instagram(to ManyChat) -
category: Automation
kind: Workflow
software: Respond To Webhook|Webhook

InstaTest

Triggered by a webhook. Connects Respond To Webhook, Webhook. ## Easy Instagram(via ManyChat) bot ---

Description:

This template is a main part of Entire solution. It's getting new message from Instagram via ManyChat(Extra No-Code tool for getting and sending message in Instagram). Generating message using ChatGPT and send back to ManyChat that sends it to Instagrtam.

Logic:

  1. Getting message from Instagram(from ManyChat)
  2. Set you system prompt for AI
  3. Create simple answer for message in AI block
  4. Send answer to Instagram(to ManyChat)

Steps

  • Set your system promt for AI (set)
  • Local n8n memory (noOp)
  • ChatGPT model (noOp)
  • Send respond (respondToWebhook)
  • Sticky Note (stickyNote)
  • Getting message from Instagram (webhook)
  • Sticky Note1 (stickyNote)
  • AI Agent (noOp)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Respondtowebhook/1266_Respondtowebhook_Stickynote_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.