How to copy data from Profile2 form to a new node using Rules. I'll try to explain what I need to achieve:


User submits profile data during the registration proces (using Profile2 module).
Rules trigger event "After saving a new user account" that creates a new node, and then copies Profile 2 data fields to a new node.


Any ideas how can I get this working? Guess I need to use Action "Create a new entity" but not sure how can I pull data from Profile 2 and then save it to a new node?

Thanks a bunch!
Why do you want this through Rules?..according to me a simple submit handler, grabbing the data on submit and creating a node programatically will be a much better approach. I can provide you direction on this if you let me know you want to go with this approach.

Update:

Here is my suggested workflow:


Use hook_user_save() to grab the submitted profile field values. All the profiles2 field you add, will be available in the user object.
Next in the content type you want to save the values, create proper fields so that you can map and store data.
you can look up in google to see how you can progmatically create a node. So you can grab the required values, and map them to appropriate fields you added to the node and then save the node.


Just a thought, I am really curious why are you trying to do this?