Skip to content

Scheduling infrastructure for absolutely everyone.

refactor: remove cal workflow trigger message from workflow templates (#25539)

Dhairyashil Shinde43315108a279
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index fa7a6811b27..6c8f0581460 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -3519,7 +3519,6 @@
"user_workflows_unwhitelisted": "User workflows unwhitelisted",
"date_and_time": "Date & Time",
"email_reminder_upcoming_event_notice": "This is a reminder about your upcoming event.",
- "email_reminder_triggered_by_workflow": "This reminder was triggered by a Workflow in Cal.",
"event_upper_case": "Event",
"scheduling_by": "Scheduling by",
"experience_review_prompt": "How was your recent experience?",
@@ -3537,7 +3536,6 @@
"add_verified_emails": "Add verified emails",
"custom_reply_to_email_title": "Custom 'Reply-To' email",
"custom_reply_to_email_description": "Use a different email address as the replyTo for confirmation emails instead of the organizer's email",
- "email_survey_triggered_by_workflow": "This survey was triggered by a Workflow in Cal.",
"skip_trial": "Skip trial period",
"team_trials_skipped_successfully": "Team trials skipped successfully",
"sms_workflow_consent": "By entering your phone number you consent to receive SMS messages for this event. SMS rates may apply.",
diff --git a/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts
index af06643379e..31db13f03ae 100644
--- a/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts
+++ b/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts
@@ -79,7 +79,7 @@ const emailRatingTemplate = ({
const branding =
!isBrandingDisabled && !isEditingMode ? `<div>_<br><br>${t("scheduling_by")} ${APP_NAME}</div>` : "";
- const endingHtml = `${t("email_survey_triggered_by_workflow")}${branding}`;
+ const endingHtml = `${branding}`;
const emailBody = `<body>${introHtml}${ratingHtml}<p>${noShowHtml}${eventHtml}${dateTimeHtml}${attendeeHtml}${endingHtml}</p></body>`;
@@ -89,4 +89,4 @@ const emailRatingTemplate = ({
export default emailRatingTemplate;
export const plainTextTemplate =
- "Hi {ORGANIZER},We're always looking to improve our customer's experience. How satisfied were you with your recent meeting?😠 πŸ™ 😐 πŸ˜„ 😍{ORGANIZER} didn't join the meeting? Reschedule here.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ORGANIZER}This survey was triggered by a Workflow in Cal.";
+ "Hi {ORGANIZER},We're always looking to improve our customer's experience. How satisfied were you with your recent meeting?😠 πŸ™ 😐 πŸ˜„ 😍{ORGANIZER} didn't join the meeting? Reschedule here.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ORGANIZER}";
diff --git a/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts
index abc41f3e07d..e2447861edc 100644
--- a/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts
+++ b/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts
@@ -82,7 +82,7 @@ const emailReminderTemplate = ({
const branding =
!isBrandingDisabled && !isEditingMode ? `<br><br>_<br><br>${t("scheduling_by")} ${APP_NAME}` : "";
- const endingHtml = `${t("email_reminder_triggered_by_workflow")}${branding}</body>`;
+ const endingHtml = `${branding}</body>`;
const emailBody = introHtml + eventHtml + dateTimeHtml + attendeeHtml + locationHtml + endingHtml;
@@ -91,4 +91,4 @@ const emailReminderTemplate = ({
export default emailReminderTemplate;
-export const plainTextTemplate = `Hi {ORGANIZER},This is a reminder about your upcoming event.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ATTENDEE}Location: {LOCATION} {MEETING_URL}This reminder was triggered by a Workflow in Cal.`;
+export const plainTextTemplate = `Hi {ORGANIZER},This is a reminder about your upcoming event.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ATTENDEE}Location: {LOCATION} {MEETING_URL}`;