calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.17k stars 7.9k forks source link

Make Additional Inputs Available as Template Variables #1861

Closed frankgreco closed 2 years ago

frankgreco commented 2 years ago

Describe the solution you'd like

Currently, {USER} is the only template variable available for usage in the Event Name field.

For example, considering a required input of Location, we could have, Coffee with {USER} at {LOCATION}.

hariombalhara commented 2 years ago

What other inputs do you see yourself using apart from Location?

frankgreco commented 2 years ago

Any that are custom defined. I think giving the ability for the user to use {inputs.<name>} is flexible. Hard coding what can and can't be used in the event name seems too strict.

Colelyman commented 2 years ago

I agree with @frankgreco to allow any that are custom defined.

To give an example of my intended use case (which led me here), I am scheduling interviews for clients and I have a custom field Company. It would be great if I could have the event name be: Interview with {USER} @ {inputs.Company} (or something similar).

Thanks!

PeerRich commented 2 years ago

more variables added!