Create webform field on node create Ok, I'm building a custom module that has content type that is webform enabled. When creating a node of this type, I need to automatically create one webform select field when node gets saved. How can I achieve this? The goal is that all webforms have this field when they're created, rest are user created.
I am not sure about your use case. 

But the following module does exactly that. 

Webform Default Fields


  With this module you can easily create much of nodes with same webform
  fields. It can be applicable in case of job vacancies with reply form,
  kind of quality feedback control or whatever your mind suggests you.
  
  Because you can create more than one webform-enabled content types,
  you respectively can attach different default fields for each of them.