How it works
To connect Databricks and Microsoft SQL, you don't need a developer: a ready-made scenario links them in minutes.
- Starts when: When chat message received
- Then: localVariables
- Check: IfOpenAI
- If yes: AgentName
- Then: getAssistantsList
- Check: If
- If yes: isAssistantExistsCode
- Check: isAssistantExists
- If yes: assistant
- Then: OpenAIMainBrain
- Then: setThreadId
- Check: isExecutable
- If yes: setOutputByProvider
- Check: IfError
- If yes: AutoErrorFixing
- If yes: IsMaxAutoErrorReached
- If yes: collectErrorLoopDetails1
- Then: maxAutoErrorLimitReached
- If no: Switch
- If yes: Execute_AI_result
- Then: mergeExecutionsResult
- Then: collectErrorLoopDetails
- Then: executedSQLQuery
- Then: GenerateErrorPrompt
- Check: isOpenAI
- If no: OpenRouterAgent
- If no: Execute a SQL query
- If no: askUserHowToHandleError
- If no: wordsForUser1
- If no: createOpenAiAssistant
- If no: issueOnOpenAiSide
- Then: Simple Memory
- Then: OpenRouter Chat Model
You can launch this Databricks + Microsoft SQL integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.