cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

feat: Workflow — Send Email to Specific Email

Open Amit91848 opened this issue 2 years ago • 11 comments

What does this PR do?

Fixes #14466

I don't have sendgrid account cannot show the email, instead showing the logs.

https://github.com/calcom/cal.com/assets/74371312/26a9a406-4931-4f86-b266-da45a5f59fd3

Pending

  • [x] ~~Table for Verified Emails like there is of VerifiedNumber~~

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Mandatory Tasks

  • [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Amit91848 avatar Apr 30 '24 16:04 Amit91848

@Amit91848 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 30 '24 16:04 vercel[bot]

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

github-actions[bot] avatar Apr 30 '24 16:04 github-actions[bot]

Graphite Automations

"Add community label" took an action on this PR • (04/30/24)

1 label was added to this PR based on Keith Williams's automation.

"Add consumer team as reviewer" took an action on this PR • (04/30/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add foundation team as reviewer" took an action on this PR • (05/13/24)

1 reviewer was added to this PR based on Keith Williams's automation.

graphite-app[bot] avatar Apr 30 '24 17:04 graphite-app[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/workflows/[workflow] 412.17 KB 640.72 KB 183.06% (🟡 +0.15%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 30 '24 17:04 github-actions[bot]

Made changes @CarinaWolli

Amit91848 avatar May 05 '24 17:05 Amit91848

Also cannot open workflow page, keep getting this error.

Screenshot 2024-05-13 at 2 48 43 PM Screenshot 2024-05-13 at 2 48 58 PM

Amit91848 avatar May 13 '24 09:05 Amit91848

Also cannot open workflow page, keep getting this error.

For the getStaticProps() error, can you try to set the env variable APP_ROUTER_WORKFLOWS_ENABLED to 0

CarinaWolli avatar May 13 '24 14:05 CarinaWolli

Also cannot open workflow page, keep getting this error.

For the getStaticProps() error, can you try to set the env variable APP_ROUTER_WORKFLOWS_ENABLED to 0

Was already 0, tried with 1 also, still getting the same error

Amit91848 avatar May 13 '24 16:05 Amit91848

Also cannot open workflow page, keep getting this error.

For the getStaticProps() error, can you try to set the env variable APP_ROUTER_WORKFLOWS_ENABLED to 0

Was already 0, tried with 1 also, still getting the same error

did you restart the yarn dev server after changing the env. variable? For me it works, I am getting the same error if I set the env variable to 1

CarinaWolli avatar May 13 '24 17:05 CarinaWolli

did you restart the yarn dev server after changing the env. variable? For me it works, I am getting the same error if I set the env variable to 1

Yup still getting the same error

https://github.com/calcom/cal.com/assets/74371312/9ab83cfd-7ad2-4d5c-8dff-ec8d57172c58

Works if i comment this tho

https://github.com/calcom/cal.com/blob/56f31eee7ab517c844b6ad5928dfebb7d438626e/apps/web/middleware.ts#L169

Amit91848 avatar May 13 '24 17:05 Amit91848

Made changes @CarinaWolli

Amit91848 avatar May 13 '24 18:05 Amit91848