🎬 Generate custom text content with IBM Granite 3.3 8B instruct AI

442 views · 🎬 Content Creation & Video

Description

Generate Custom Text Content with IBM Granite 3.3 8B Instruct AI

This workflow connects to Replicate’s API and uses the ibm-granite/granite-3.3-8b-instruct model to generate text.


🔵 SECTION 1: Trigger & Setup

⚙️ Nodes

1️⃣ On clicking ‘execute’

2️⃣ Set API Key


💡 Beginner Benefit

✅ No coding needed to handle authentication. ✅ You can reuse the same setup for other Replicate models.


🤖 SECTION 2: Model Request & Polling

⚙️ Nodes

3️⃣ Create Prediction (HTTP Request)

4️⃣ Extract Prediction ID (Code)

5️⃣ Wait

6️⃣ Check Prediction Status (HTTP Request)

7️⃣ Check If Complete (IF Condition)


💡 Beginner Benefit

✅ No need to manually refresh or check job status. ✅ Workflow keeps retrying until text is ready. ✅ Smart looping built-in with Wait + If Condition.


🟢 SECTION 3: Process & Output

⚙️ Nodes

8️⃣ Process Result (Code)


💡 Beginner Benefit

✅ Ready-to-use text output. ✅ Easy integration with any database or CRM. ✅ Transparent metrics (when it started, when it finished, etc.).


✅✅✅ ✨ FULL FLOW OVERVIEW

SectionWhat happens
Trigger & SetupStart workflow + set Replicate API key.
🤖 Model Request & PollingSend request → get Prediction ID → loop until job completes.
🟢 Process & OutputExtract clean AI-generated text + metadata for storage or further workflows.

📌 How You Benefit Overall

✅ No coding needed — just configure your API key. ✅ Reliable polling — the workflow waits until results are ready. ✅ Flexible — you can extend output to Google Sheets, Slack, Notion, or email. ✅ Beginner-friendly — clean separation of input, process, and output.


✨ With this workflow, you’ve turned Replicate’s IBM Granite LLM into a no-code text generator — running entirely inside n8n! ✨


🔗 Nodes Used

HTTP Request

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup