I would like to use rules to send an email to my admin staff when a new piece of content is created. It would be great if the email contained a link to the content to make it easier to find. Is there a way to insert the link? Perhaps there is a token that I could use.

2 Answers 2


You can use the following: [site:url]user/login?destination=node/[node:nid]/edit.

This will show login form to the users who are not authenticated and then redirect them to the node edit page.

If the user is already logged in, he/she will be immediately taken to the node edit page.

  • That looks great! Could I also use: [site:login-url]?destination=node/[node:nid]/edit
    – Hoytman
    Commented Apr 8, 2014 at 19:42
  • Also, do I need to wrap the link in an anchor tag?
    – Hoytman
    Commented Apr 8, 2014 at 19:43
  • Yes and yes. The token will just return the URL, so you need to put it in the anchor tag. Commented Apr 8, 2014 at 19:45
  • can I write the anchor tag directly into the rules field or will it get filtered (if filtered, can I prevent this?)
    – Hoytman
    Commented Apr 8, 2014 at 19:48
  • 1
    You can write it there directly. Just now realized one thing: if you aren't already sending HTML email, just leave the URL as is, without an anchor tag. If the email is sent as plain text, most of the email clients/apps will render the URL as a link. Commented Apr 8, 2014 at 19:50

You can use this: [node:edit-url]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.