8. A method comprising: receiving a service inquiry over a robotic chat session from a chat-enabled device, wherein the service inquiry is associated with a service provider network; collecting information from a user of the chat-enabled device regarding the service inquiry; retrieving a flow definition from a first database based upon the collected information, wherein the first database is configured to store a plurality of flow definitions relating to a plurality of service inquiries, a second database is configured to store a plurality of queries associated with the plurality of flow definitions, the flow definitions comprise logic connecting client steps and server steps corresponding to troubleshooting scenarios for the plurality of service inquires, and the chat-enabled device comprises a client; once all flow definitions corresponding to a particular troubleshooting scenario corresponding to the service inquiry have been navigated, retrieving the associated query corresponding to the service inquiry; and generating a command, based on the associated query, for resolving the service inquiry, wherein any function regarding a service inquiry is available to define a step-by-step flow definition.
8. A method comprising: receiving a service inquiry over a robotic chat session from a chat-enabled device, wherein the service inquiry is associated with a service provider network; collecting information from a user of the chat-enabled device regarding the service inquiry; retrieving a flow definition from a first database based upon the collected information, wherein the first database is configured to store a plurality of flow definitions relating to a plurality of service inquiries, a second database is configured to store a plurality of queries associated with the plurality of flow definitions, the flow definitions comprise logic connecting client steps and server steps corresponding to troubleshooting scenarios for the plurality of service inquires, and the chat-enabled device comprises a client; once all flow definitions corresponding to a particular troubleshooting scenario corresponding to the service inquiry have been navigated, retrieving the associated query corresponding to the service inquiry; and generating a command, based on the associated query, for resolving the service inquiry, wherein any function regarding a service inquiry is available to define a step-by-step flow definition. 11. The method according to claim 8 , further comprising executing the query, wherein the query complies with an xquery format.