Hello,
I have on a website a simple webchat, I want the N8N bot to make put a question and the reply to be sent to the Telegram, how to make this? I want the question to be sent 1 time per day.
Hello,
I have on a website a simple webchat, I want the N8N bot to make put a question and the reply to be sent to the Telegram, how to make this? I want the question to be sent 1 time per day.
It looks like your topic is missing some important information. Could you provide the following if applicable.
There is no N8n version and no database, it is a simple web navigation
I think this video will show what you need to get the Telegram reponse node to work. Essentially you need to start a chat, get the chat ID, then use that chat ID in the telegram response node. That will send the input to that chat every time the flow runs.
Your question is how can I “send-a-response-query-made-on-a-website-webchat-to-instagram”. Ok. You can try, first removing that telegram trigger node as that node is used when the input comes from a telegram message (not from a webpage). Your HTTP node will get the enquiry from the webpage, which is great. Next you have the GPT node. The GPT node is currently feeding into itself so it will continue forever, you need to not connect the output back to the input. Next you need to attach a function (code) node to the right of the GPT output (as well as maybe an output parser) to extract what exactly you want from the GPT node. Once you have isolated what you want (maybe a 2 line response), you connect another node immediately to the right of that function (code) node. What you will connect is the Telegram (send message) node. This will send the telegram message to where you want (presumably yourself, so you can see if the GPT node is answering the questions correctly). To ensure it answers the questions correctly, you should definitely ad that output parser as well as a system prompt. Hope this helps :]
Hello,Thank you for response.
The Schedule will send a predefined question to a webpage where is a sample web page with a chat room:
How are you?
I want the answer of the person to be redirected to my telegram channel.
Still not working.
You would want them to input their response on a website and then navigate themselves to see the answer in the telegram channel? Why not just return them the answer on the webpage?
The crawler will put the question: “How are you?” and the reply must be captured and sent to my telegram channel
May I ask what is the purpose of the telegram channel? Is it to log the interaction for your sake (as website owner), or do you want the user to go the telegram channel to get the response?
One time per day the bot from N2N will go to the webpage where is located a webchat page where will type the question “How are you?” or “London weather for Today” then the answer will be sent to my channel telegram for my personal use.
I made again the script and is not working
, How to make it work?
Still not working
Hi Robm,
I got your ideas, but i am struggling at data which is need taken from the reply from the webchat. I get bad request from Telegram node. I dont know if the question How are you? is typed on chat and the reply is captured and sent to telegram…
Here is the updated code:
How to fix it?
I assume you have created your telegram bot and loaded its api keys as n8n credentials?
I copied your workflow and tested it and it worked 100% fine. If you are getting a telegram node error it is likely due to your Telegram credentials not being correct.
Hello,
The nodes are working and I get the reply back to my channel “I am fine”
but the question is not posted on the webchat and is not taken back and sent to the telegram
https://www.loom.com/share/5e4028ed473248f6ab1113ade1ceddf7?sid=29130cb3-9243-47cb-a6a2-ae13dad3a149
Was there supposed to be audio with that loom? Was a silent movie!
The final run looked like it worked?
But how you pass data to and from what ever is running at https://box1.ai.copilot.live/ will depend on the api or webhooks of that service. I don’t think a simple HTTP node will be able to do that job.
Does not seem like copilot.live has an api. use n8n with an n8n ai agenc to create youAI chat bot with out needing a tool like copilot.
Which APP is for AI chat, create an AI based on my website url data?
I want this N8N chat AI to offer answer based on my website URL data which contains some statistics, how can I do this? I have few url for the bot to analyze
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.