https://discord.gg/botpress logo
URGENT - Blocking Issue: Autonomous Node Tool Call...
# 🤝help
h
I have a critical blocking issue that is preventing a production deployment scheduled for Monday. This project is now 4 days behind schedule, and my client is extremely upset with the delays. I need immediate assistance to resolve this autonomous node tool calling problem. ISSUE SUMMARY: My autonomous node (Nova) is calling the wrong tool schema when trying to invoke a custom workflow. Instead of calling my custom workflow with the correct parameters, it's attempting to call a generic HTTP tool with incompatible schema requirements. TECHNICAL DETAILS: Main Bot Configuration: - Workspace ID: wkspace_01JXA2B796G7V1DMG9M5HRGVC9 - Bot ID: 51624b22-2cec-47ec-be49-e990d38c642b - Bot URL: https://app.botpress.cloud/workspaces/wkspace_01JXA2B796G7V1DMG 9M5HRGVC9/bots/51624b22-2cec-47ec-be49-e990d38c642b/overview PROBLEM: The autonomous node is calling global.escalateToHuman as an HTTP tool instead of recognizing it as my custom workflow tool. My workflow should accept customerName, customerEmail, summary, and transcript parameters, but it's being treated as a generic HTTP request tool. SPECIFIC QUESTIONS: 1. How do I ensure the autonomous node calls my custom workflow instead of treating it as an HTTP tool? 2. Is there a tool registry or naming conflict causing this issue? 3. Do I need to configure the tool availability differently for autonomous nodes? 4. Is there a way to force the autonomous node to use the correct tool schema?
r
the problem is that it is in fact calling your workflow by assuming it as an generic Http tool so you are correct there
you may not like the answer as by scouring the net and Chat gpt it is to be ASSUMED that u are in need of the following - Add input schema validation in your workflows to catch badly formed requests early. Standardize outputs: return consistent, well-typed JSON so the agent can parse responses reliably. Add retries/timeouts: wrap your workflow calls with logic to handle transient failures gracefully. Log extensively: emit detailed logs on entry, exit, and key state changes to troubleshoot issues in production. Pre-test via standalone tools: confirm workflows respond as expected with tools like curl or Postman before connecting them to the Autonomous Node. Further more u can make use of the following doc-https://botpress.com/docs/learn/reference/nodes/autonomous-node#integration-tools
i hope that you are able to solve this problem as fast possible
w
What is your prompt ? You can detail the parameters in the prompt
h
this is the testing prompt i am using ## Identity You are Nova, a customer support bot for * ## Primary Function Your only job is to collect customer information and create HelpScout tickets when customers need help. ## Escalation Triggers When a customer mentions any of these: - "customer service" - "human help" - "speak to someone" - "billing issue" - "refund" - "problem" - "complaint" ## Escalation Process 1. **Collect Information**: Ask for their full name and email address 2. **Call Tool**: Once you have name, email, and understand their issue, call the EscalateToHuman tool:
Copy code
EscalateToHuman({
  customerName: "Customer Full Name",
  customerEmail: "customer@email.com",  
  summary: "Brief description of customer issue",
  transcript: "Relevant conversation history"
})
## Critical Rules - CALL the tool named "EscalateToHuman" with customer information - **PASS these exact parameters**: customerName, customerEmail, summary, transcript - DO NOT call any other tools - use "EscalateToHuman" only - DO NOT ask for confirmation - just call the tool immediately ## Example Customer: "I need customer service. My name is Emma Wilson, email emma@test.com. I was charged twice." Nova: Thanks Emma! I'm connecting you with our support team now. They'll help you with the double charge issue. Behind the scenes: Set inputs.customerName = "Emma Wilson", inputs.customerEmail = "emma@test.com", inputs.summary = "Customer was charged twice for order", inputs.transcript = "Customer requested customer service and reported double charge", then run EscalateToHuman workflow card ## Response Format - Keep responses short and direct - Only ask for missing information (name or email) - Once you have all info, output JSON immediately
I was able to find a solution. Step 1. Remove the HTTP Request / API Calls integration (It was causing a conflict) Step 2. Manually create a new subworkflow, with an execute code card on a single standard node, with succes and error nodes. Due to length constraints I am not able to include the code block or system prompts, if anyone wants them, please message me. Step 3. Create all the necessary input variables (customerName, etc) in the new subworkflow. Including creating a variable (success:boolean), and (error:string) Step 4. Trigger via this system prompt ## Identity You are Nova, a customer support bot. ## Primary Function When customers ask for help, immediately call HelpscoutEscalation. ## When to call HelpscoutEscalation Call HelpscoutEscalation immediately if customer mentions: - "customer service" - "help" - "support" - "problem" - "issue" - "refund" - "billing" - "speak to someone" - "human" ## How to call HelpscoutEscalation HelpscoutEscalation({ customerName: "Customer", customerEmail: "test@test.com", summary: "Customer requested assistance", transcript: "Customer asked for help" }) ## Rules - Call HelpscoutEscalation IMMEDIATELY when triggered - Do NOT ask for name or email first - Do NOT collect any information - Just call the tool right away ## Example Customer: "I need help" Nova: "Let me connect you with our support team right away!" *Immediately calls: HelpscoutEscalation({customerName: "Customer", customerEmail: "support@handbvitamins.com", summary: "Customer requested assistance", transcript: "Customer asked for help"})*
r
That's great @James may you have a great Sunday
3 Views