DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD. Set DB_PORT to 5432 unless your database uses another allowed port.
GET with authentication
Parameters:repo (required string, such as octocat/Hello-World). Secret: GITHUB_TOKEN.
POST a JSON body
Send an email with SendGrid. Use a verified sender inSENDER_EMAIL.
Parameters: to, subject, body (required strings). Secrets: SENDGRID_API_KEY, SENDER_EMAIL.
Webhook relay
Parameters:event (required string), payload (required object). Secrets: WEBHOOK_URL, WEBHOOK_SECRET.
Use your HTTPS webhook URL. Its receiver must accept this body and the X-Webhook-Secret header.
Select with filters
Parameters:userId (required string), status (optional string). Use the PostgreSQL secrets listed above.
Insert a record
Parameters:name, email (required strings), role (optional string). Use the PostgreSQL secrets.
The users table needs id, name, email, role, and created_at columns.
SQL with pagination
Parameters:category (required string), page, pageSize (optional numbers). Use the PostgreSQL secrets.
This query uses products and categories tables.
MySQL query
Parameter:email (required string). Secrets: MYSQL_HOST, MYSQL_PORT, MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD.
Group and summarize data
Parameter:userId (required string). Use the PostgreSQL secrets. Order rows need status, created_at, and numeric amount values.
Remove duplicates and filter
Parameter:query (required string). Secrets: API_URL, API_KEY.
Set API_URL to your HTTPS API base URL. This example expects a /search endpoint that returns a results array.
API call and database write
Parameter:repo (required string). Secrets: GITHUB_TOKEN and the PostgreSQL secrets.
The repo_snapshots table needs id, repo_name, stars, forks, language, and captured_at columns.
Handle errors and enrich a result
Parameter:userId (required string). Secrets: API_URL, API_KEY, and the PostgreSQL secrets.
Set API_URL to your HTTPS API base URL. Its /users/:id endpoint must return a user with id, name, and email.