Triggering a workflow without providing the full URL to the user

Hi,

I am sending an email to people, and in that email, I want to include a link for them to click. That link should send a POST (maybe GET, I’ll see) to the workflow that I’m creating to handle the link. However, I don’t want the URL and server name to be exposed in the email in case I change it or in case I modify the server.

How would I go about doing that?

Thanks,

L

You could try to use one of the redirection services, like bitly or tinyurl, I guess. What do you think? There are also self-hosted solutions for redirection as well (YOURLS, Kutt, Shlink, LinkStack etc)

I think Bitly and tinyURL expand the URL but I need to check.

I didn’t know about the others. I’ll have to check.

Thanks,

L

They redirect to a provided full url, which is fine in your case - if later you change the destination or modify the server, all you will need to do is just change the destination url in the redirect configuration.

Ah, yes. I think I expressed myself incorrectly.

What I want is to take the information that the user provides and send it to my n8n instance URL, but I don’t want my real URL to appear in the address bar. So something like this:

What the user sees: https://responseurl.com/slug?parameters=foo

Where it really goes: https://my-n8n-instance/workflow-url?parameter=foo

I think the only way to do that is to send it to the responseurl.com server and have it send the information to the n8n instance. But I’m not sure if there is another simpler way.… because I’m not even sure how to do what I’m suggesting! :grinning_face_with_smiling_eyes:

L

You may then want to research services like
Webhook Relay, Hookdeck, Hook0, smee.io or Cloudflare Workers

I never tried any, so at this point you need to research and see if any of these fit your needs.

Ok, thanks!

L

If you will find any of these helpful, please mark the answer as solution. Thank you.
Cheers!

Will do, thanks!

L

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