Chatbot Development with Hasura and n8n

Job ID: 39706975

Budget: ₹600 – ₹1,500 INR

Objective
Create a chatbot application with:
1. Email Sign In/Sign Up using Bolt + Nhost Auth.
2. Chat system using Hasura GraphQL queries, mutations, and subscriptions.
3. Chatbot powered by n8n connected to Hasura Actions, which in turn calls
OpenRouter (free model).
Requirements
• Authentication
o Implement email-based sign-up/sign-in with Nhost Auth.
o Restrict all features to authenticated users.

• Database & Permissions
o Create chats and messages tables.
o Enable Row-Level Security (RLS) so users can only access their own data.
o Apply proper permissions for insert, select, update, and delete.
role for application access.
o Use only the user role for application access
• GraphQL Only
o All frontend communication with the backend must use GraphQL queries,
mutations, or subscriptions.
o No REST API calls from the frontend.
+ Hasura Action
o Create an Action (e.g., sendMessage) that triggers a webhook in nan.
o The Action must be protected by authentication and role permissions.
+ n8n Workflow
o Receive webhook calls from Hasura Actions.
o Validate that the requesting user owns the chat_id.
o Call OpenRouter API from within n8n using secure credentials.
o Save chatbot responses back to the database via Hasura GraphQL.
o Retum the chatbots reply to the Hasura Action.
• Frontend
o Implement chat list, message view, and real-time updates via GraphQL
subscriptions.
o Allow creating new chats and sending messages.
o Sending a message must:
1. Save the user message to the database.
2. Call the Hasura Action to trigger the chatbot.
3. Display the chatbot's response.
Rules
1. Permissions must be correctly implemented in Hasura for both tables and Actions.
2. Only GraphQL queries, mutations, and subscriptions are allowed from the frontend.
3. All extemal API calls must go through n8n, never directly from the frontend.
Deliverables
Host your application in Netlify and share me the Netlify link
Everyone needs to submit in this thread.
You need to submit in this format:
Name: Joey Dash
[Removed by Freelancer.com]
Deployed: Deployed link goes here