Skip to content

Commit 4331510

Browse files
authored
refactor: remove cal workflow trigger message from workflow templates (calcom#25539)
* refactor: remove cal workflow trigger message * remove from rating template
1 parent 311b6e0 commit 4331510

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

apps/web/public/static/locales/en/common.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3519,7 +3519,6 @@
35193519
"user_workflows_unwhitelisted": "User workflows unwhitelisted",
35203520
"date_and_time": "Date & Time",
35213521
"email_reminder_upcoming_event_notice": "This is a reminder about your upcoming event.",
3522-
"email_reminder_triggered_by_workflow": "This reminder was triggered by a Workflow in Cal.",
35233522
"event_upper_case": "Event",
35243523
"scheduling_by": "Scheduling by",
35253524
"experience_review_prompt": "How was your recent experience?",
@@ -3537,7 +3536,6 @@
35373536
"add_verified_emails": "Add verified emails",
35383537
"custom_reply_to_email_title": "Custom 'Reply-To' email",
35393538
"custom_reply_to_email_description": "Use a different email address as the replyTo for confirmation emails instead of the organizer's email",
3540-
"email_survey_triggered_by_workflow": "This survey was triggered by a Workflow in Cal.",
35413539
"skip_trial": "Skip trial period",
35423540
"team_trials_skipped_successfully": "Team trials skipped successfully",
35433541
"sms_workflow_consent": "By entering your phone number you consent to receive SMS messages for this event. SMS rates may apply.",

packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const emailRatingTemplate = ({
7979
const branding =
8080
!isBrandingDisabled && !isEditingMode ? `<div>_<br><br>${t("scheduling_by")} ${APP_NAME}</div>` : "";
8181

82-
const endingHtml = `${t("email_survey_triggered_by_workflow")}${branding}`;
82+
const endingHtml = `${branding}`;
8383

8484
const emailBody = `<body>${introHtml}${ratingHtml}<p>${noShowHtml}${eventHtml}${dateTimeHtml}${attendeeHtml}${endingHtml}</p></body>`;
8585

@@ -89,4 +89,4 @@ const emailRatingTemplate = ({
8989
export default emailRatingTemplate;
9090

9191
export const plainTextTemplate =
92-
"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.";
92+
"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}";

packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const emailReminderTemplate = ({
8282
const branding =
8383
!isBrandingDisabled && !isEditingMode ? `<br><br>_<br><br>${t("scheduling_by")} ${APP_NAME}` : "";
8484

85-
const endingHtml = `${t("email_reminder_triggered_by_workflow")}${branding}</body>`;
85+
const endingHtml = `${branding}</body>`;
8686

8787
const emailBody = introHtml + eventHtml + dateTimeHtml + attendeeHtml + locationHtml + endingHtml;
8888

@@ -91,4 +91,4 @@ const emailReminderTemplate = ({
9191

9292
export default emailReminderTemplate;
9393

94-
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.`;
94+
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}`;

0 commit comments

Comments
 (0)