When I create a new content, I would like to send an email that contains "node path alias".
Pathauto pattern
[title-raw]-[nid]
Rules
ON event After saving new content
IF
Created content is Les entreprises
AND
Created content is new
Add a condition
DO
Send a mail to a user
Rules email
[node:node-path]
I receive the email, but the content is 'node/16565'. I would like to receive 'les-entreprises-16565'.
If I inspect token with the Devel module, I get: node-path (String, 21 characters) les-entreprises-16565.
Why didn't I receive this node path alias? Is the Rules module sending the mail too quickly, and the path alias is not yet created?