@sasrsc1966
Well, you have a syntax error in your formula which is why you are seeing the error that you are. LookUp has a capital U in it.
As for the With statement, yes, if you are referring to a variable that is defined at one level, you need to have another nested with.
Here are two differences (and why you would nest and nest and nest again):
With({_frm: Self.LastSubmit,
_e: LookUp(Events, ID=Self.LastSubmit.EventId),
_v: LookUp(Venues, ID=LookUp(Events, ID=Self.LastSubmit.EventId).VenueId)
},
...variables _frm, _e and _v all available here
...etc..
You can see with the above that there is duplication of formula and not easy to maintain. Plus, in that case, you will be doing redundant data operations.
So, the concept of the With in the above is that you are creating three scoped variables - _frm, _e and _v. And it is expected then that you will use them somewhere in the With statement that you are defining.
SO...to simplify (and reduce redundancy), you would nest these as they "build" on each other:
With({_frm: Self.LastSubmit},
With({_e: LookUp(Events, ID=_frm.EventId)},
With({_v: LookUp(Venues, ID=_e.VenueId)},
...variables _frm, _e and _v all available here
...etc..
So, in this formula, it is more efficient and easier to maintain.
Now, in looking at your other post, you seemed to accept the solution for send to flow at this point rather than to using the SendEmailV2 action, so the formula would need to change for that.
Based on what I was saying in that other post, I would then use the output of the component for formatting the email in the above formula.
And definitely, change your redundancy in the switch statement to what I previously sent. You really only want to Switch on that which is changing (the Subject line), not on the entire formula (i.e. the SendEmailV2).