Replaced showcase links -> api (#764)
* Updated the examples section with new links / changed showcase link to project showcase * Added links to the api pages for all of our integrations * Deleted card from the airtable tasks page
This commit is contained in:
@@ -4,18 +4,17 @@ description: "Jobs and code examples you can use to get started."
|
||||
---
|
||||
|
||||
<CardGroup>
|
||||
<Card title="API catalog with code samples" icon="code" href="https://trigger.dev/apis">
|
||||
Find code examples for the API you need that you can copy and paste into your projects.
|
||||
</Card>
|
||||
<Card
|
||||
title="Browse our Jobs Showcase"
|
||||
title="Browse our Project Showcase"
|
||||
icon="rocket-launch"
|
||||
href="https://trigger.dev/showcase"
|
||||
color="#EC4899"
|
||||
>
|
||||
The showcase is our library of Jobs. Use them as they are, right out of the box, or customize
|
||||
them to suit your needs.
|
||||
</Card>
|
||||
<Card title="API catalog with code samples" icon="code" href="https://trigger.dev/apis">
|
||||
Find code examples for the API you need that you can copy and paste into your
|
||||
projects.
|
||||
Our library of full-stack projects. A great place to learn more and find inspiration for your
|
||||
next project.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
@@ -27,9 +26,10 @@ To run them, simply follow the instructions in the README files linked below.
|
||||
|
||||
| Project Name | Description | Integrations | Author | Status |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | ------ |
|
||||
| [OpenAI text summarizer](https://github.com/triggerdotdev/examples/tree/main/openai-text-summarizer) | An app which uses OpenAI to summarize an article and then post the result to Slack. | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) [Slack](https://trigger.dev/docs/integrations/apis/slack) | Trigger.dev | ✅ |
|
||||
| [Supabase onboarding emails](https://github.com/triggerdotdev/examples/tree/main/supabase-onboarding-emails) | When a user signs up and confirms their email address, they will receive 3 "onboarding" emails over 2 days using Resend.com and Trigger.dev | [Supabase](https://trigger.dev/docs/integrations/apis/supabase) [Resend](https://trigger.dev/docs/integrations/apis/resend) | Trigger.dev | ✅ |
|
||||
| [OpenAI text summarizer](https://trigger.dev/showcase/projects/openai-text-summarizer) | An app which uses OpenAI to summarize an article and then post the result to Slack. | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) [Slack](https://trigger.dev/docs/integrations/apis/slack) | Trigger.dev | ✅ |
|
||||
| [Supabase onboarding emails](https://trigger.dev/showcase/projects/supabase-onboarding-emails) | When a user signs up and confirms their email address, they will receive 3 "onboarding" emails over 2 days using Resend.com and Trigger.dev | [Supabase](https://trigger.dev/docs/integrations/apis/supabase) [Resend](https://trigger.dev/docs/integrations/apis/resend) | Trigger.dev | ✅ |
|
||||
| [Generate presentation titles using OpenAI](https://github.com/triggerdotdev/examples/tree/main/express-vanilla) | Generate presentation titles using OpenAI background jobs with Node.js, Express and Trigger.dev | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) | [lirantal](https://github.com/lirantal) | ✅ |
|
||||
| [Send a basic email with Resend](https://github.com/triggerdotdev/examples/tree/main/resend-email-form) | Send a basic email from a form with Resend | [Resend](https://trigger.dev/docs/integrations/apis/resend) | Trigger.dev | ✅ |
|
||||
| [Send a basic email with Resend](https://trigger.dev/showcase/projects/resend-email-form) | Send a basic email from a form with Resend | [Resend](https://trigger.dev/docs/integrations/apis/resend) | Trigger.dev | ✅ |
|
||||
| [AI changelog generator](https://autochangelog.dev/) | Generates a changelog from your GitHub commits using OpenAI | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) [GitHub](https://trigger.dev/docs/integrations/apis/github) | Trigger.dev | ✅ |
|
||||
| [AI avatar generator](https://trigger.dev/showcase/projects/avatar-generator) | Turn yourself into a superhero using AI | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) | Trigger.dev | ✅ |
|
||||
| AI landing page copy generator | Copies your site and generates new copy using OpenAI | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) | Trigger.dev | 🛠️ |
|
||||
| AI changelog generator | Generates a changelog from your GitHub commits using OpenAI | [OpenAI](https://trigger.dev/docs/integrations/apis/openai) [GitHub](https://trigger.dev/docs/integrations/apis/github) | Trigger.dev | 🛠️ |
|
||||
|
||||
@@ -161,3 +161,4 @@ client.defineJob({
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Our Airtable integration allows you to easily connect to the Airtable API and perform tasks such as creating / updating / deleting single or multiple records in your tables.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - Airtable"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=airtable"
|
||||
>
|
||||
Check out pre-built Airtable jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installation
|
||||
|
||||
To get started with our Airtable integration, you need to install the `@trigger.dev/airtable` packages. You can do this using `npm`, `pnpm`, or `yarn`:
|
||||
@@ -70,6 +62,14 @@ const airtable = new Airtable({
|
||||
|
||||
Once you have set up a Airtable client, you can use it to create tasks.
|
||||
|
||||
{" "}
|
||||
|
||||
<Card title="Tasks" icon="sparkles" href="/integrations/apis/airtable-tasks">
|
||||
Perform tasks such as creating / updating / deleting single or multiple records in table.
|
||||
</Card>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/airtable">
|
||||
Check out pre-built jobs using Airtable in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Our GitHub integration allows you to create triggers and tasks that interact with GitHub. Trigger jobs when events happen, like when a new issue is added to a repo, or when a pull request is opened, etc. You can also perform tasks like creating issues, getting information about a repo, adding comments, and much more.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - GitHub"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=github"
|
||||
>
|
||||
Check out pre-built GitHub jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installing the GitHub packages
|
||||
|
||||
To get started with our GitHub integration, you need to install the `@trigger.dev/github` packages. You can do this using `npm`, `pnpm`, or `yarn`:
|
||||
@@ -80,3 +72,9 @@ Once you have set up a GitHub client, you can use it to create triggers and task
|
||||
Perform tasks such as creating a new issue or a new comment.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/github">
|
||||
Check out pre-built jobs using GitHub in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -463,3 +463,9 @@ client.defineJob({
|
||||
| `createProjectMilestone` | Creates a project milestone. |
|
||||
| `issuePriorityValues` | Gets issue priority values and labels. |
|
||||
| `viewer` | Gets the currently authenticated user. |
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/linear">
|
||||
Check out pre-built jobs using Linear in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Our OpenAI integration allows you to easily perform AI-powered tasks, such as summarizing text, answering questions, generating images, fine tuning and much more.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - OpenAI"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=openai"
|
||||
>
|
||||
Check out pre-built OpenAI jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installing the OpenAI packages
|
||||
|
||||
<CodeGroup>
|
||||
@@ -173,3 +165,9 @@ client.defineJob({
|
||||
And you'll get the same experience in the Run Dashboard when viewing the logs:
|
||||
|
||||

|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/openai">
|
||||
Check out pre-built jobs using OpenAI in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -8,14 +8,6 @@ sidebarTitle: Overview & authentication
|
||||
Plain is the customer support tool for technical teams and products.
|
||||
It aims to bring engineering and customer service teams together by creating a modern opinionated platform that's fantastic to build with.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - Plain"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=plain"
|
||||
>
|
||||
Check out pre-built Plain jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installing the Plain packages
|
||||
|
||||
<CodeGroup>
|
||||
@@ -56,3 +48,9 @@ Once you have set up a Plain client, you can use it to create tasks.
|
||||
Perform tasks such as creating/updating customers and adding timeline entries.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/plain">
|
||||
Check out pre-built jobs using Plain in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -168,3 +168,9 @@ client.defineJob({
|
||||
| `paginate` | Pagination helper that returns an async generator. |
|
||||
| `request` | Sends authenticated requests to the Replicate API. |
|
||||
| `run` | Creates and waits for a prediction. |
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/replicate">
|
||||
Check out pre-built jobs using Replicate in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Resend is the email API for developers. With our Resend integration you can send email campaigns, transactional emails, and automated emails (drip campaigns) from your app.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - Resend"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=resend"
|
||||
>
|
||||
Check out pre-built Resend jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installing the Resend packages
|
||||
|
||||
To get started with our Resend integration, you need to install the `@trigger.dev/resend` packages. You can do this using `npm`, `pnpm`, or `yarn`:
|
||||
@@ -55,3 +47,9 @@ Once you have set up a Resend client, you can use it to create tasks.
|
||||
<Card title="Tasks" icon="sparkles" href="/integrations/apis/resend-tasks">
|
||||
Send emails with Resend.
|
||||
</Card>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/resend">
|
||||
Check out pre-built jobs using Resend in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
SendGrid is a cloud-based SMTP provider that allows you to send email without having to maintain email servers. With our SendGrid integration you can send email campaigns, transactional emails, and automated emails (drip campaigns) from your app.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - SendGrid"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=sendgrid"
|
||||
>
|
||||
Check out pre-built SendGrid jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installing the SendGrid packages
|
||||
|
||||
To get started with our SendGrid integration, you need to install the `@trigger.dev/sendgrid` packages. You can do this using `npm`, `pnpm`, or `yarn`:
|
||||
@@ -57,3 +49,9 @@ Once you have set up a SendGrid client, you can use it to create tasks.
|
||||
<Card title="Tasks" icon="sparkles" href="/integrations/apis/sendgrid-tasks">
|
||||
Send emails with SendGrid.
|
||||
</Card>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/sendgrid">
|
||||
Check out pre-built jobs using SendGrid in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Our Shopify integration allows you to create triggers and tasks that interact with Shopify. Trigger jobs when events happen, like when a new product is added to a shop, or when an order is paid for, etc. You can also perform tasks like creating products, editing variants, getting information about an order, and a lot more.
|
||||
|
||||
{/* <Card
|
||||
title="Jobs Showcase - Shopify"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=shopify"
|
||||
>
|
||||
Check out pre-built Shopify jobs in our showcase.
|
||||
</Card> */}
|
||||
|
||||
## Installing the Shopify packages
|
||||
|
||||
To get started with our Shopify integration, you need to install the `@trigger.dev/shopify` packages. You can do this using `npm`, `pnpm`, or `yarn`:
|
||||
@@ -43,13 +35,13 @@ It's **required** to import the correct Runtime Adapter for your platform. All e
|
||||
|
||||
```ts
|
||||
// Import the Node.js adapter
|
||||
import '@shopify/shopify-api/adapters/node';
|
||||
import "@shopify/shopify-api/adapters/node";
|
||||
|
||||
// Import the CloudFlare Worker adapter
|
||||
import '@shopify/shopify-api/adapters/cf-worker';
|
||||
import "@shopify/shopify-api/adapters/cf-worker";
|
||||
|
||||
// Import the generic Web API adapter
|
||||
import '@shopify/shopify-api/adapters/web-api';
|
||||
import "@shopify/shopify-api/adapters/web-api";
|
||||
```
|
||||
|
||||
You can then import and use `@trigger.dev/shopify` like any other integration:
|
||||
@@ -102,3 +94,9 @@ Once you have set up a Shopify client, you can use it to create triggers and tas
|
||||
Perform Tasks such as creating new variants, or editing orders, and more.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/shopify">
|
||||
Check out pre-built jobs using Shopify in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -67,8 +67,6 @@ client.defineJob({
|
||||
|
||||
Use their [Block kit builder](https://api.slack.com/block-kit), and then use the `blocks` property to send the message.
|
||||
|
||||
To see this in action, check out our 'Daily Slack alert for Linear issues' [example job](https://trigger.dev/showcase/jobs/linearIssuesDailySlackAlert).
|
||||
|
||||
```ts linearIssuesDailySlackAlert.ts
|
||||
...
|
||||
await io.slack.postMessage("post message", {
|
||||
|
||||
@@ -7,14 +7,6 @@ sidebarTitle: Overview & authentication
|
||||
|
||||
Our Slack integration allows you to connect to the Slack API and post messages to Slack.
|
||||
|
||||
<Card
|
||||
title="Jobs Showcase - Slack"
|
||||
icon="rocket"
|
||||
href="https://trigger.dev/showcase?tags=&apis=slack"
|
||||
>
|
||||
Check out pre-built Slack jobs in our showcase.
|
||||
</Card>
|
||||
|
||||
## Installation
|
||||
|
||||
<CodeGroup>
|
||||
@@ -58,3 +50,9 @@ Once you have set up a Slack client, you can use it to create tasks.
|
||||
<Card title="Tasks" icon="sparkles" href="/integrations/apis/slack-tasks">
|
||||
Perform tasks such as posting messages to a channel.
|
||||
</Card>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/slack">
|
||||
Check out pre-built jobs using Slack in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -275,3 +275,9 @@ client.defineJob({
|
||||
```
|
||||
|
||||
Make sure to pass the `idempotencyKey` to the underlying client to ensure that the API call is only executed once. This is only needed for mutating API calls.
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/stripe">
|
||||
Check out pre-built jobs using Stripe in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -73,3 +73,9 @@ Our Supabase package supports two different integrations: One for the Supabase M
|
||||
[service_role](https://supabase.com/docs/guides/api/api-keys#the-servicerole-key) key.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/supabase">
|
||||
Check out pre-built jobs using Supabase in our API section.
|
||||
</Card>
|
||||
|
||||
@@ -165,3 +165,9 @@ client.defineJob({
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
## Example jobs
|
||||
|
||||
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/typeform">
|
||||
Check out pre-built jobs using Typeform in our API section.
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user