How to set up URL redirect tool in Elevenlabs dashboard.

This tool allows your elevenlabs agent to redirect users to other pages on your wordpress website.

Time to setup < 5mins

Step 1. Login to Elevenlabs dashboard 
 
Step 2. Navigate to “Tools” on the left side menu and “Add Client Tool”
Select “Edit as JSON” in bottom left corner and replace the json there with this code:
				
					{
  "type": "client",
  "name": "URL_Redirect",
  "description": "Allows agent to redirect user to specific relevant page. ",
  "disable_interruptions": false,
  "force_pre_tool_speech": "auto",
  "assignments": [],
  "expects_response": true,
  "response_timeout_secs": 1,
  "parameters": [
    {
      "id": "url",
      "type": "string",
      "value_type": "llm_prompt",
      "description": "The URL to redirect the user's browser to",
      "dynamic_variable": "",
      "constant_value": "",
      "enum": null,
      "required": false
    }
  ],
  "dynamic_variables": {
    "dynamic_variable_placeholders": {}
  }
}

				
			
Step 3 – Add the tool to your agent under” Custom Tools” Then tell your agent what the URLs are on your site – in the prompt for your agent – include a paragraph saying something like “ You have the ability to redirect users to other pages – if user asks about product xyz, you can redirect them to “www.yourdomain.com/xyz/product” (etc etc…)
Step 2:
Step 3: