Rules - Use data from webform field in new entity type I currently have a webform with the following fields:


Your Email
Your Name
Your Idea


Alongside this I have setup a rule that when a webform is submitted it creates a new node of a new content type I have created 'Idea'. A view then pulls in all these 'Ideas' to display.

The title of the node pulls in the Your Idea field using the value [data:your_idea-value] which works fine.

But I am trying to set the author of the node as the Your Name field but I am struggling, it doesn't allow a value to be used and can't figure it out.

I've managed to get it working where it sets it to Anonymous and then I setup another action on the rule to rename the author:name but it does it for all of the content, not just the new node.

I'm sure I'm just missing something simple, would be great if someone could assist.



Currently setup to set author as anonymous for the time being.
Below is something I learned about using webform data in Rules, which may help you to get this to work (assuming your question is about D7) ...

You have access to all labels and all values of any field of a webform, ie:


[data:MachineFieldName-title] contains the Label of a field with machine name MachineFieldName.
[data:MachineFieldName-value] contains the Value of a field with machine name MachineFieldName


So try to use similar tokens.

For way more details on this, and a prototype rule about this, refer to the answer to "How to create a node from a Webform using rules?":


the 1st attempt relates to using "Entity has field" (which doesn't work for Webform)
the 2nd attempt explains what to do in case of Webform.