How to Talk to Databases with a Telegram AI Agent (n8n)

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 36

  • @franknillard
    @franknillard  11 днів тому

    HIRING- Looking to Build a Team of ambitious individuals:
    forms.gle/3k2t5z2j7DHgXQQC8

  • @cxfgbxcgbx
    @cxfgbxcgbx 11 днів тому

    Thanks man! I only know basic programming and was trying hard (and failing!) on creating an agent to do some scheduled reports from a database. Now i know wich way to go

    • @franknillard
      @franknillard  5 днів тому

      Amazing, I'm glad i could help in some way :)

  • @agentesAi
    @agentesAi 14 днів тому

    wow !! Thanks a lot for the tutorial !!

  • @sohamnavadiya992
    @sohamnavadiya992 14 днів тому

    Loved it. Keep it up. Very knowledgeable. Request you make similar video for mongodb too where your data source is Mongodb. Waiting for that video ❤

    • @franknillard
      @franknillard  14 днів тому

      Will consider it, thanks for the suggestion!

  • @happyworld6165
    @happyworld6165 6 днів тому

    Hi beside retrieving and analyzing the data, would also love to watch a video tutorial updating the database with n8n. Thank you for your sharing!

    • @franknillard
      @franknillard  6 днів тому +1

      Check my previous videos! There’s one where I go through updating a database!

  • @georgedavidevans
    @georgedavidevans 15 днів тому

    Love it!

  • @SvenDesigns
    @SvenDesigns 14 днів тому

    Nice video !

  • @WW_AI_Adventures
    @WW_AI_Adventures 14 днів тому

    Awesome! ❤

  • @harshdawar5568
    @harshdawar5568 15 днів тому

    Love this! In your experience how accurate is the data comming from the dynamic queries. A concern i have is silent incorrect responses as in an incorrect query generating an invalid response and the client blindly trusting the data

    • @franknillard
      @franknillard  14 днів тому

      There’s a slight chance there could be some inaccuracy in the data, but you can put systems in place to ensure to minimise that as much as possible. Also the use case matters a lot. This could be useful for use cases in which this would save lots of time and there’s no big need for the query results to be 100% accurate.

  • @marcdurbach7036
    @marcdurbach7036 10 днів тому

    Hi, this is a very interesting video, and I would be glad to try it. But the problem is that you are probably running on a cloud instance of n8n, whereas I want to run a local docker instance. And here the problems begins. I created the bot, and entered the credentials in my first telegram trigger node. The test of the API key worked. But when I want to test the trigger node, it starts waiting for a message, but when I sent one, it is not received by my Node. I started the docker with the start --tunnel option, as I saw on some docs, but still it does not work. So far I did not found any tutorial detailing this connection. maybe you know what is missing.

  • @SunloDezines
    @SunloDezines 10 днів тому

    Hey Frank all my credentials check out, however when I run the test query in telegram I cant get any data to transfer to my sql agent from my postgres data, What am I missing???

  • @ThinkAIAutomation
    @ThinkAIAutomation 11 днів тому

    cool

  • @MCITECH359
    @MCITECH359 11 днів тому

    Hello
    Please, how can I build a chatbot for ecommerce with preloaded products images, then answer FAQs with both images and text

    • @franknillard
      @franknillard  5 днів тому

      Get on my free Discord community and we can chat about this there!

  • @harshdawar5568
    @harshdawar5568 15 днів тому

    Would the sql agent work with airtable?

    • @franknillard
      @franknillard  14 днів тому

      Not entirely sure if AirTable can be searched with SQL? It’s best that you check that out online or in the docs :)

  • @giantworks1366
    @giantworks1366 14 днів тому

    excellente video, est ce qu'on peut utiliser Whatsapp à la place de Telegram ? Merci

    • @franknillard
      @franknillard  14 днів тому +1

      Oui, vouz pouvez utiliser WhatsApp. J’ai une autre vídeo a ce sujet, sortez-la :)

  • @cxfgbxcgbx
    @cxfgbxcgbx 11 днів тому

    Trying it out but the agent cant seem to be able to see my tables. I tried checking authentication and its all good, what can i do?
    Thought: I should look at the tables in the database to see what I can query.
    Action: [["list-tables-sql"]]
    Action Input: ""
    Observation: [["list-tables-sql"]] is not a valid tool, try another one.
    Thought:

    • @SunloDezines
      @SunloDezines 10 днів тому

      I am having the same issue

    • @franknillard
      @franknillard  5 днів тому

      There seems to be problem, in the tools you have given it. Perhaps in the labelling of such tools int he prompt on the SQL agent? It could be many things; go on my free Discord community and add an image or something there and should be able to help.

  • @kel78v2
    @kel78v2 14 днів тому

    Did you try the sgl agent with openai model? Tried with 4o mini and for some reason the agent never works. Kept throwing errors

    • @franknillard
      @franknillard  14 днів тому +1

      Try with Anthropic! Works best for me regarding coding tasks. If you really want to use OpenAI models try using 4o better, more parameters. If anything you can also refine the prompt that’s in the system message for the SQL agent

    • @kel78v2
      @kel78v2 14 днів тому

      @franknillard my issue with the agent was it keep trying to use list table query which is not supported by postgres. It's an embedded prompt of sql agent node. Gave up on it and am using tool agent instead.

    • @franknillard
      @franknillard  14 днів тому

      @@kel78v2 fair enough! Let me know how that goes :)

  • @startupyouthawareness9105
    @startupyouthawareness9105 11 днів тому

    Hello sir, I'm Shankar Kumar low from india. I request them audio track in hindi. Thanks