Can anyone please suggest me how to connect SAPHANA DB.
And later how to add this workflow in UiPath agentic platform as a tool.
So that directly we can ask any query related to DB using prompt to get the response from agentic platform.
Yes, you can definitely connect to SAP HANA from UiPath and make it available on the Agentic Automation platform.
First, to connect with the SAP HANA database, you can use ODBC or OLEDB via the Connect activity in UiPath. Just make sure the SAP HANA client/driver is properly installed on your system. Once connected, you can run your queries using the Execute Query activity.
Next, to make this available as a tool in the Agentic platform:
Build a UiPath workflow that takes a natural language input (your prompt) and converts it to a SQL query.
Register this workflow as a tool using Agentic Tool Builder.
Define the input (prompt) and output structure clearly.
Add your tool to the Agent in the platform – now it can handle questions like “Show me the last 10 purchase orders.”
Let me know if you’d like help setting up the SQL prompt conversion or tool registration part.
As I am new to this platform it would be highly appreciated if you could provide me simple workflow (xaml file) of this and kindly help setting up the SQL prompt conversion or tool.
Hi Anil,
Thanks for your response.
I have host name, port number, username and password. But when I am checking in the integration service it is asking site URL, service name, what I should mention there if you could provide in detail with a screen shot example then it would be great.
To fix the “Data source name not found” error in UiPath, you need to first download and install the official SAP HANA client, which contains the necessary ODBC driver. After installation, you can connect using a DSN or by directly specifying the driver in your connection string. You can find more information on the official UiPath SAP automation page: