how often does the letter "h" occur in:
q: use process builder /flow to custom object 'school' record on stage update on the lead object, i have a lookup to 'schools'. (not possible to use use master detail on leads so i need to use lookup. ). every time a lead record is set to status 'contacted', i would like to (using process builder /flow):
1. create a school record
2. add this new school record to the lookup on the lead object.
if the above is not possible, could i use a custom button to launch a process /flow to complete this? any ideas? thanks!

a: so, you could do this with a few different steps in process builder (harder to manage), or you can create a flow that you trigger in your process builder.  i would suggest the latter... so here are your steps:
create a new flow.  on the flow, you want to start creating your variables.  what you need is:
variable -> var_leadid ; input/output = input and output
variable -> var_schoolid ; input/output = input and output
now, create a record create element, have it create a school.  have the record id at the bottom be populated with var_schoolid.
now, create a record update element on your lead.  filter it by the leadid (which will be passed in through process builder), and then do an update of the school lookup field with your var_schoolid field.
set the record create element as the starting element.  save.  activate.
now we want to build a process builder.  set it to fire when the status = "contacted", and then select the action type "flow" and then set the flow we just created, and then set the variable var_leadid to be passed into your flow using the "reference" ability.
you should be set!

user
In that passage, there are 51 occurrences of the letter "h."
assistant