V-IFS Sample Prompt 1¶
An AI-powered business advisor chatbot that helps rural Kenyan out-of-school youth secure startup capital during their critical 2-week post-bootcamp support window. The system provides personalized funding guidance through a structured conversation that diagnoses barriers, reframes challenges, and creates actionable funding plans.
Purpose¶
No business context provided yet — add a context.md to enrich this documentation.
Based on the workflow configuration, this chatbot serves rural Kenyan youth aged 18-30 who have completed a 4-week business bootcamp and are struggling to raise startup capital. The system addresses common funding barriers including limited savings, fear of debt, family financial pressures, and unrealistic grant expectations. It guides users through a structured process to identify practical funding pathways within a 2-week support window, building financial confidence and resourcefulness rather than dependency.
How It Works¶
- Initial Contact: A user starts a conversation with the Business Advisor chatbot through a public chat interface
- Needs Assessment: The AI asks 1-2 focused questions to understand the user's capital requirements and business goals
- Barrier Diagnosis: The system internally categorizes the user's funding challenge (fear of borrowing, lack of savings, unrealistic amounts, etc.)
- Mindset Reframing: The AI provides an empowering perspective shift from "stuck" to "possible"
- Pathway Recommendation: One practical funding option is suggested from six categories: personal savings, group savings (chamas), loans, family/friends support, asset monetization, or casual work income
- Action Planning: The pathway is broken into 2-3 simple, time-bound steps the user can start immediately
- Feasibility Check: The AI confirms the plan feels realistic and adjusts if needed
- Ongoing Support: The conversation memory allows for follow-up discussions and progress tracking
Workflow Diagram¶
graph TD
A[When chat message received] --> B[AI Agent]
C[OpenRouter Chat Model] --> B
D[Simple Memory] --> B
B --> E[Structured Response:<br/>1. Understand need<br/>2. Diagnose barrier<br/>3. Reframe mindset<br/>4. Suggest pathway<br/>5. Create action plan<br/>6. Check feasibility]
Trigger¶
Chat Trigger: The workflow activates when a user sends a message to the public chat interface. The initial greeting is: "Hi there! 👋I am your Business Adviser. How can I assist you today?"
Nodes Used¶
| Node Type | Purpose |
|---|---|
| Chat Trigger | Receives incoming chat messages and provides the public chat interface |
| AI Agent | Core conversational AI that follows the structured advisory process with extensive prompting for rural Kenyan context |
| OpenRouter Chat Model | Google Gemini 3 Flash Preview language model that powers the AI responses |
| Simple Memory | Maintains conversation context with a 20-message buffer window for follow-up discussions |
External Services & Credentials Required¶
- OpenRouter API: Required for accessing the Google Gemini 3 Flash Preview model
- Credential name: "Selfhosted n8n"
- Used for: AI language model responses
Environment Variables¶
No environment variables are configured in this workflow. All settings are defined within the node parameters.
Data Flow¶
Input: - User chat messages containing funding questions, business ideas, and financial challenges - Conversation history maintained in memory buffer
Processing: - AI agent analyzes user input against funding barrier categories - Applies structured conversation framework with Kenyan cultural context - Generates personalized funding recommendations and action plans
Output: - Conversational responses in simple English with Swahili phrases - Specific funding pathway recommendations (savings, loans, chamas, etc.) - Time-bound action steps achievable within 2 weeks - Follow-up questions and feasibility checks
Error Handling¶
No explicit error handling nodes are present in this workflow. Error handling relies on: - n8n's built-in retry mechanisms for API calls - OpenRouter service availability and rate limiting - Chat trigger's connection management
Known Limitations¶
Based on the AI agent's instructions: - 2-week timeline constraint: All recommended actions must be achievable within the critical support window - Single pathway focus: Deliberately avoids overwhelming users with too many funding options - Cultural specificity: Designed specifically for rural Kenyan context and may not apply to other regions - No financial guarantees: Cannot provide actual funding, only guidance and strategies - Loan risk warnings: Must always caution about repayment pressure and potential asset loss
Related Workflows¶
No related workflows are mentioned in the current configuration.
Setup Instructions¶
-
Import Workflow: Import the JSON configuration into your n8n instance
-
Configure OpenRouter Credentials:
- Create an OpenRouter API account
- Add OpenRouter API credentials in n8n with the name "Selfhosted n8n"
- Ensure access to Google Gemini 3 Flash Preview model
-
Activate Workflow:
- Set the workflow to "Active" status
- The chat trigger will generate a public webhook URL
-
Test the Chat Interface:
- Access the public chat URL provided by the chat trigger
- Send a test message to verify the AI responds appropriately
-
Customize if Needed:
- Modify the system prompt in the AI Agent node for different contexts
- Adjust the memory buffer window length (currently 20 messages)
- Update the initial greeting message in the chat trigger
-
Monitor Usage:
- Check workflow execution logs for conversation patterns
- Monitor OpenRouter API usage and costs
- Review conversation quality and user feedback
The workflow is ready to use once credentials are configured and should provide immediate business advisory support for users seeking startup funding guidance.