Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TRI-1169] Create a Vercel integration package #421

Open
ericallam opened this issue Aug 28, 2023 · 5 comments
Open

[TRI-1169] Create a Vercel integration package #421

ericallam opened this issue Aug 28, 2023 · 5 comments
Labels
area/integrations enhancement New feature or request

Comments

@ericallam
Copy link
Member

ericallam commented Aug 28, 2023

Vercel have webhook events that we could be exposed through a @trigger.dev/vercel integration:

https://vercel.com/docs/observability/webhooks-overview/webhooks-api

They also have an API for registering webhooks that we can use:

https://vercel.com/docs/rest-api/endpoints#webhooks

Useful docs/code

Requirements

  • Make sure that you have fully tested that each webhook works and comes through to your locally running dashboard
  • Make sure you've implemented the best practice security in verifying the payloads. Vercel talk about this in their linked docs above.
  • Make sure to add Vercel to the integrationCatalog.

From SyncLinear.com | TRI-1169

@ericallam ericallam changed the title Create a Vercel integration [TRI-1169] Create a Vercel integration Aug 28, 2023
@maige-app maige-app bot added enhancement New feature or request area/integrations labels Aug 28, 2023
@ericallam ericallam changed the title [TRI-1169] Create a Vercel integration [TRI-1169] Create a Vercel integration package Aug 28, 2023
@Chigala
Copy link
Contributor

Chigala commented Sep 12, 2023

@ericallam I'll love to work on this. Pls assign this to me.

@matt-aitken matt-aitken added 💎💎💎 500 points This issue is worth 500 points in the hacktoberfest leaderboard 🎃 hacktoberfest labels Oct 2, 2023
@Tushar98644
Copy link

@matt-aitken I would love to take up the issue if no one is working on it

@hmacr
Copy link
Contributor

hmacr commented Oct 21, 2023

@ericallam Do we want to support just the webhooks in this integration?

Vercel does not have an official SDK that provides its API functions.
SDK - Vercel Client / Available Functions

If we plan to provide their API functions as tasks (say create_env_var, edit_env_var, etc.), we'll have to write our own wrapper using native fetch. Do we want to support Vercel tasks as part of this integration?
API Reference

@hmacr
Copy link
Contributor

hmacr commented Oct 25, 2023

@ericallam Apologies for the reminder.
I'm about to start on the Webhooks part and would like your view on the above query.

@ericallam
Copy link
Member Author

Yea I think let's try and support the webhooks and any other that might be useful, but don't have to be an exhaustive support from the beginning 👍

@D-K-P D-K-P removed 🎃 hacktoberfest 💎💎💎 500 points This issue is worth 500 points in the hacktoberfest leaderboard labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/integrations enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants