#I want to configure a webhook tool for the agent to access/get the user's name and email address. w
1 messages · Page 1 of 1 (latest)
To configure a webhook tool for your agent to access or get the user's name and email address, you need to set up the following:
-
Method: Typically, you would use the
GETorPOSTmethod, depending on how your API is designed to handle requests. -
Headers: You will need to include the
xi-api-keyin the headers to authenticate the request. This key is required to access the API programmatically. -
Path Parameters: If your API requires specific path parameters, ensure you include them in the URL. For example, if the endpoint is
/users/{user_id}, you need to replace{user_id}with the actual user ID. -
Query Parameters: If your API uses query parameters to filter or specify the request, include them in the URL. For example,
?name=true&email=trueto specify that you want the name and email. -
Body Parameters: If using a
POSTrequest, you might need to include body parameters in JSON format. For example:{ "user_id": "12345", "fields": ["name", "email"] }
Make sure to check your API documentation for any specific requirements or additional parameters needed for your webhook configuration.
I'm passing the user name and email from my website's input field to n8n webhook. elevenlab's agent will get the user's contact info to book meeting