Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"main"
]
}
64 changes: 64 additions & 0 deletions templates/gym-ai-coach-agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
https://studio.lamatic.ai/HarishsOrganization135/project/GymAiCoachAgent262/flow/bdbf6a03-6419-4eec-befd-0266b5436b7a/edit

# 1 - Getting Started

## About This Flow

This flow automates a workflow with **3 nodes** working together to process and transform data. The flow is designed to streamline operations and can be easily integrated into your existing systems.

## Flow Components

This workflow includes the following node types:
- Chat Trigger
- Generate Text
- Chat Response

## Configuration Requirements

This flow requires configuration for **1 node(s)** with private inputs (credentials, API keys, model selections, etc.). All required configurations are documented in the `inputs.json` file.

## Files Included

- **config.json** - Complete flow structure with nodes and connections
- **inputs.json** - Private inputs requiring configuration
- **meta.json** - Flow metadata and information

## Next Steps

### Share with the Community

Help grow the Lamatic ecosystem by contributing this flow to AgentKit!

1. **Fork the Repository**
- Visit [github.com/Lamatic/AgentKit](https://github.com/Lamatic/AgentKit)
- Fork the repository to your GitHub account

2. **Prepare Your Submission**
- Create a new folder with a descriptive name for your flow
- Add all files from this package (`config.json`, `inputs.json`, `meta.json`)
- Write a comprehensive README.md that includes:
- Clear description of what the flow does
- Use cases and benefits
- Step-by-step setup instructions
- Required credentials and how to obtain them
- Example inputs and expected outputs
- Screenshots or diagrams (optional but recommended)

3. **Open a Pull Request**
- Commit your changes with a descriptive message
- Push to your forked repository
- Open a PR to [github.com/Lamatic/AgentKit](https://github.com/Lamatic/AgentKit)
- Add a clear description of your flow in the PR

Your contribution will help others build amazing automations! 🚀

## Support

For questions or issues with this flow:
- Review the node documentation for specific integrations
- Check the Lamatic documentation at docs.lamatic.ai
- Contact support for assistance

---
*Exported from Lamatic Flow Editor*
*Generated on 3/31/2026*
167 changes: 167 additions & 0 deletions templates/gym-ai-coach-agent/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
{
"nodes": [
{
"id": "triggerNode_1",
"data": {
"modes": {},
"nodeId": "chatTriggerNode",
"schema": {},
"values": {
"id": "triggerNode_1",
"chat": "",
"domains": [
"*"
],
"nodeName": "User Input",
"chatConfig": {
"botName": "Lamatic Bot",
"imageUrl": "https://img.freepik.com/premium-vector/robot-android-super-hero_111928-7.jpg?w=826",
"position": "right",
"policyUrl": "https://lamatic.ai/docs/legal/privacy-policy",
"displayMode": "popup",
"placeholder": "Compose your message",
"suggestions": [
"What is lamatic?",
"How do I add data to my chatbot?",
"Explain this product to me"
],
"errorMessage": "Oops! Something went wrong. Please try again.",
"hideBranding": false,
"primaryColor": "#ef4444",
"headerBgColor": "#000000",
"greetingMessage": "Hi, I am Lamatic Bot. Ask me anything about Lamatic",
"headerTextColor": "#FFFFFF",
"showEmojiButton": true,
"suggestionBgColor": "#f1f5f9",
"userMessageBgColor": "#FEF2F2",
"agentMessageBgColor": "#f1f5f9",
"suggestionTextColor": "#334155",
"userMessageTextColor": "#d12323",
"agentMessageTextColor": "#334155"
}
},
"trigger": true
},
"type": "triggerNode",
"measured": {
"width": 216,
"height": 93
},
"position": {
"x": 0,
"y": 0
},
"selected": false
},
{
"id": "LLMNode_567",
"data": {
"label": "dynamicNode node",
"modes": {},
"nodeId": "LLMNode",
"schema": {
"_meta": "object",
"images": "array",
"tool_calls": "object",
"generatedResponse": "string"
},
"values": {
"id": "LLMNode_567",
"tools": [],
"prompts": [
{
"id": "187c2f4b-c23d-4545-abef-73dc897d6b7b",
"role": "system",
"content": "You are an expert fitness coach.\nYou create personalized fitness plans based on user details.\nRules:\n- Use simple, practical, Indian diet\n- Focus on budget-friendly foods\n- Keep workout beginner-friendly unless specified\n- Give clear structured output\n- Avoid expensive or unrealistic suggestions\nAlways generate:\n1. Diet Plan\n2. Workout Plan\n3. Protein Sources\n4. Tips"
},
{
"id": "187c2f4b-c23d-4545-abef-73dc897d6b7d",
"role": "user",
"content": "User input:\n{{input}}\nAnalyze the user carefully.\nAlso estimate daily protein requirement (grams).\nNow generate clean structured output:\n🏋️ GYM AI COACH PLAN\n👤 Profile Summary:\n- Goal:\n- Weight:\n- Diet Type:\n🥗 DIET PLAN:\nBreakfast:\nLunch:\nDinner:\nSnacks:\n🏋️ WORKOUT PLAN:\nDay 1:\nDay 2:\nDay 3:\n💪 PROTEIN TARGET:\n- Daily protein needed:\n🍗 PROTEIN SOURCES:\n-\n⚡ TIPS:\n- If user is vegetarian → avoid eggs/meat\n- If budget is low → suggest cheap foods only"
}
],
"memories": "[]",
"messages": "{{triggerNode_1.output.chatHistory}}",
"nodeName": "AI Coach Engine",
"attachments": "",
"credentials": "",
"generativeModelName": [
{
"type": "generator/text",
"params": {},
"configName": "configA",
"model_name": "gemini/gemini-2.5-flash",
"credentialId": "32c708a5-14de-41ff-91fe-04edcd840f2a",
"provider_name": "gemini",
"credential_name": "gemini"
}
]
}
},
"type": "dynamicNode",
"measured": {
"width": 216,
"height": 93
},
"position": {
"x": 0,
"y": 130
},
"selected": false
},
{
"id": "responseNode_triggerNode_1",
"data": {
"label": "Response",
"modes": {},
"nodeId": "chatResponseNode",
"schema": {},
"values": {
"id": "responseNode_triggerNode_1",
"content": "{{LLMNode_567.output.generatedResponse}}",
"nodeName": "Final Response",
"references": "",
"webhookUrl": "",
"webhookHeaders": ""
},
"isResponseNode": true
},
"type": "responseNode",
"measured": {
"width": 216,
"height": 93
},
"position": {
"x": 0,
"y": 260
},
"selected": true
}
],
"edges": [
{
"id": "triggerNode_1-LLMNode_567",
"type": "defaultEdge",
"source": "triggerNode_1",
"target": "LLMNode_567",
"sourceHandle": "bottom",
"targetHandle": "top"
},
{
"id": "LLMNode_567-responseNode_triggerNode_1",
"type": "defaultEdge",
"source": "LLMNode_567",
"target": "responseNode_triggerNode_1",
"sourceHandle": "bottom",
"targetHandle": "top"
},
{
"id": "response-responseNode_triggerNode_1",
"type": "responseEdge",
"source": "triggerNode_1",
"target": "responseNode_triggerNode_1",
"sourceHandle": "to-response",
"targetHandle": "from-trigger"
}
]
}
26 changes: 26 additions & 0 deletions templates/gym-ai-coach-agent/inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"LLMNode_567": [
{
"name": "generativeModelName",
"label": "Generative Model Name",
"type": "model",
"modelType": "generator/text",
"mode": "chat",
"description": "Select the model to generate text based on the prompt.",
"required": true,
"defaultValue": [
{
"configName": "configA",
"type": "generator/text",
"provider_name": "",
"credential_name": "",
"params": {}
}
],
"typeOptions": {
"loadOptionsMethod": "listModels"
},
"isPrivate": true
}
]
}
9 changes: 9 additions & 0 deletions templates/gym-ai-coach-agent/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "1 - Getting Started",
"description": "",
"tags": "",
"testInput": "",
"githubUrl": "",
"documentationUrl": "",
"deployUrl": ""
}