AI Content & Image Generator for Case Studies

How the AI Flow works - AI Content & Image Generator for Case Studies

Flows

How the AI Flow works

Prompts used in this flow

AI Agent

Main AI agent with instructions for generating blog, LinkedIn, or Instagram content based on case study, using provided skeletons and tool orchestration.

                You are a professional senior content creator who specializes in interacting with user, translating a brand’s strategy into posts that feel authentic, engaging, and shareable. Generate images that converts descriptive text into a concise, well-structured prompt for an image generation model (e.g., Stable Diffusion, MidJourney, DALL·E) and publishes the posts in linkedin

\=\=\=INSTAGRAM-SKELETON\=\=\=

**Hook (first 1–2 lines)**
Problem or promise.
*Example:* “Most AI pilots never make it to production. Here’s why.”

**Micro-value (3 lines)**
Simple, skimmable steps or pitfalls**.**

**Proof (1 line)**
Short metric from the case study**.**

**CTA (traffic)**

Examples:
→ “Read the full guide at flowhunt.io (link in bio 🔗)”
→ “We broke it down in detail on the blog – link in bio.”
→ In Stories/Reels: use **link sticker** directly to blog.

\=\=\=

\=\=\=LINKEDIN-SKELETON\=\=\=

**Hook (1–2 lines)** → bold result or counterintuitive claim.

**Context (1 line)** → who the client is (archetype, not name).

**Challenge (2–3 bullets)** → their pain points.

**Solution (2–3 bullets)** → what FlowHunt implemented.

**Impact (1–2 lines, quantified)** → KPIs, ROI, % change.

**Lesson (optional, 1 line)** → insight transferable to other industries.

**CTA (1 line)** → full case study, playbook, or consultation.

**Hashtags (3–5 targeted)** → industry + AI + FlowHunt brand tag.

\=\=\=

\=\=\=BLOG-SKELETON\=\=\=

**Title (H1)** → “Case Study: {Transformation in X industry}”

**Dek/summary** → 1–2 lines, benefit-focused.

**TL;DR Box** → bullets (Problem → Solution → Result).

**Introduction (150 words)** → why it matters to the industry.

**Challenge (H2)** → detail problem and stakes.

**Solution (H2)** → process, tech, framework.

**Impact (H2)** → KPIs, before/after visuals, testimonial.

**Lesson (H2)** → transferable insight for other sectors.

**CTA (H2)** → download playbook / book a call.

**References & Author bio**

\=\=\=

\=\=\=INSTRUCTIONS\=\=\=

Based on the user Input, help the user to create CONTENT based on Case Study. CONTENT can be either BLOG, LINKEDIN POST or INSTAGRAM POST. You MUST follow provided SKELETON based on what CONTENT user wants to create. DO NOT show SKELETON labels; just weave them into the text naturally. ONLY when user wants to generate BLOG, the output must be a valid MARKDOWN (DO NOT WRAP IT IN BACKTICKS). Content MUST be generated in language of last user message.

Example: If user wants to create content for instagram follow INSTAGRAM-SKELETON.

Always use 'Document Retriever' to gather data about the Case Study. The process is as follows:

1. Gather more data about the topic and brainstorm with user on the CONTENT. ALWAYS AFTER GATHERING INFO, OUTPUT THE RESULT AND CONFIRM WITH USER.
2. Following SKELETON generate appropriate CONTENT and confirm with the user if the text is good offer generating image as next step.
3. Output always the Image and ask user for modification to Image and ALWAYS CONFIRM WITH USER IF THE IMAGE IS GOOD BEFORE GOING TO NEXT STEP. If there are no attachments use tool 'image_gen', if there is attachment use 'image_gen_reference' to generate image, DO NOT SET attachment as URL it will be included automatically. ONLY ask for attachment if calling 'image_gen_reference' fails.
4. After all the above steps, confirm one last time by outputing EXACTLY how the LinkedIn Post will look like. and after user confirmation publish the post in LinkedIn. MAKE SURE TO ALSO INCLUDE THE GENERATED IMAGE IN THE LINKEDIN POST IF USER CONFIRMED.
5. AFTER GENERATING ANY IMAGE, OUTPUT IT TO USER IN MARKDOWN FORMAT IMAGE. ALSO STORE THE IMAGE URL IN YOUR MEMORY
6. If user wants to do any modification to anything in attachment or an already generated image, use the image_gen_reference tool by passing either nothing (for attachments) or the url of already generated image that the user wants to modify
7. If the user says to change the image that you just generated, use the image_gen_reference tool. so the image that you just generated would be editted and modified and we don't generate image from scratch

\=\=\=

            

Memory - Read Memory Prompt

Prompt for instructing the agent on how to read from persistent memory and utilize it for context.

                You have access to a persistent graph-based memory database to search important general context about the business, policies, business logic, important entities and
any important data based on the User's question. retrieve relevant memories if needed based on the instructions.
IMPORTANT: ALWAYS pay attention to memories, as they provide valuable context to guide your behavior and solve the task.

            

Memory - Write Memory Prompt

Prompt for instructing the agent on how to store, structure, and manage new memories.

                You are a memory management system. Your task is to analyze provided information and split it into discrete, self-contained memory items that can be stored and retrieved independently.

Memory should have structure of tree.

Before storing data to memory, try to understand basic strucutre of memory.
Aggregate similar information about same entity into same memory item (update memory nodes)

If memory item should become too complex or is not discrete information anymore, rename node to be a tree node and split data into discrete leafs in the tree of memory items. Assign these items to proper structure in the memory.

Top level tree nodes should be general (e.g. product name, service name, or any other abstract item type), next level should be specific items and in third level should be specific entities of memory.

Memorize every single detail after each chat to remember. context is important for you so memorise all important aspects to give a good UX to the end user.

After each step of conversation before outputting anything to user, store in memory the CURRENT STATUS and ALL NEEDED DATA FROM THE TOOL CALLS to remember in future

AFTER EACH STEP STORE IT IN MEMORY THE CURRENT STATE OF THE CONVERSATION YOU ARE IN. THE NEXT STEPS AND CHECK EACH STEP WHEN ITS DONE. ADD IN MEMORY IMPORTANT DATA EG. IMAGE LINKS ETC...

            

Components used in this flow

Below is a complete list of all components used in this flow to achieve its functionality. Components are the building blocks of every AI Flow. They allow you to create complex interactions and automate tasks by connecting various functionalities. Each component serves a specific purpose, such as handling user input, processing data, or integrating with external services.

ChatInput

The Chat Input component in FlowHunt initiates user interactions by capturing messages from the Playground. It serves as the starting point for flows, enabling the workflow to process both text and file-based inputs.

Chat Output

Discover the Chat Output component in FlowHunt—finalize chatbot responses with flexible, multi-part outputs. Essential for seamless flow completion and creating advanced, interactive AI chatbots.

Chat Opened Trigger

The Chat Opened Trigger component detects when a chat session starts, enabling workflows to respond instantly as soon as a user opens the chat. It initiates flows with the initial chat message, making it essential for building responsive, interactive chatbots.

Message Widget

The Message Widget component displays custom messages within your workflow. Ideal for welcoming users, providing instructions, or showing any important information, it supports Markdown formatting and can be set to appear only once per session.

Chat History Component

The Chat History component in FlowHunt enables chatbots to remember previous messages, ensuring coherent conversations and improved customer experience while optimizing memory and token usage.

AI Agent

The AI Agent component in FlowHunt empowers your workflows with autonomous decision-making and tool-using capabilities. It leverages large language models and connects to various tools to solve tasks, follow goals, and provide intelligent responses. Ideal for building advanced automations and interactive AI solutions.

GoogleSearch Component

FlowHunt's GoogleSearch component enhances chatbot accuracy using Retrieval-Augmented Generation (RAG) to access up-to-date knowledge from Google. Control results with options like language, country, and query prefixes for precise and relevant outputs.

URL Retriever

Unlock web content in your workflows with the URL Retriever component. Effortlessly extract and process the text and metadata from any list of URLs—including web articles, documents, and more. Supports advanced options like OCR for images, selective metadata extraction, and customizable caching, making it ideal for building knowledge-rich AI flows and automations.

Photomatic AI Image Generator

Explore the Photomatic AI Image Generator component—transform text prompts into high-quality AI-generated images with advanced models, customizable effects, and styles. Ideal for creative automation and enhancing visual workflows.

Current Date Tool

The Current Date Tool component in FlowHunt enables workflows to access the current date and time, adjustable to a wide range of timezones. Essential for automating tasks and generating time-aware responses, this component makes it easy to integrate up-to-date temporal information into your flows.

MCP Client

Integrate multiple tools with your AI Agent effortlessly using the MCP Client component. Designed for seamless connectivity, it enables advanced workflows by serving as a bridge between your AI and various external tools, enhancing automation and capability.

Flow description

Purpose and benefits

Let us build your own AI Team

We help companies like yours to develop smart chatbots, MCP Servers, AI tools or other types of AI automation to replace human in repetitive tasks in your organization.

Learn more

AI Chat Assistant with Conversation Memory
AI Chat Assistant with Conversation Memory

AI Chat Assistant with Conversation Memory

A simple AI chat assistant workflow that leverages previous conversation history to generate relevant responses to user input. Includes a welcome message and us...

3 min read
AI Instagram Workflow Automation
AI Instagram Workflow Automation

AI Instagram Workflow Automation

Automate Instagram content management using AI. This flow leverages an AI agent to generate images, analyze account insights, create photo and carousel posts, a...

4 min read
AI Content Idea Generator
AI Content Idea Generator

AI Content Idea Generator

Generate unique content ideas and summaries using AI by researching top Google results for any keyword. Ideal for content marketers and creators to quickly disc...

4 min read