Fixes additional inputs as variables in custom workflow templates (#7840)
* fix additonal inputs as dynamic text variables * pass responses in same format --------- Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
7967a65ade
commit
0bae688da1
6 files changed
+13
-13
No files matched your search
@@ -172,7 +172,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
timeZone: timeZone,
|
||||
location: reminder.booking.location || "",
|
||||
additionalNotes: reminder.booking.description,
|
||||
customInputs: reminder.booking.customInputs,
|
||||
responses: reminder.booking.responses,
|
||||
meetingUrl: bookingMetadataSchema.parse(reminder.booking.metadata || {})?.videoCallUrl,
|
||||
};
|
||||
const emailSubject = await customTemplate(
|
||||
|
||||
@@ -108,7 +108,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
timeZone: timeZone,
|
||||
location: reminder.booking?.location || "",
|
||||
additionalNotes: reminder.booking?.description,
|
||||
customInputs: reminder.booking?.customInputs,
|
||||
responses: reminder.booking?.responses,
|
||||
meetingUrl: bookingMetadataSchema.parse(reminder.booking?.metadata || {})?.videoCallUrl,
|
||||
};
|
||||
const customMessage = await customTemplate(
|
||||
|
||||
Reference in new issue
Block a user