How to pass variable as path variable

https://domain.com/crm/api/leads/search/:keysearch

How can i pass the path variable in N8n Http request node, I tried to pass via Query , body & header parameter but its not working any help would be appreciated.

Loading... URL to check variable and other details, I am trying to use Lead Search option

Hi @chandan988, I am not quite sure what you’re looking for here. Are you trying to replace the :keysearch part from your URL dynamically?

This could be done using an expression in the URL field like so:

In this example workflow, :keysearch is replaced with whatever value is coming from a myValue field, you can of course adjust this name as needed:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.