Files
twenty/packages/twenty-apps/hello-world
martmullandGitHub 1cbbd04761 Function trigger updates 2 (#16608)
- Improves route trigger job performances
- expose function params types

## Before

<img width="938" height="271" alt="image"
src="https://github.com/user-attachments/assets/5752ba64-f31d-44ed-974d-536e63458f2c"
/>


## After

<img width="1000" height="559" alt="image"
src="https://github.com/user-attachments/assets/b1f4927a-5f43-49f0-a606-244c72356772"
/>
2025-12-16 18:20:26 +01:00
..
2025-12-16 18:20:26 +01:00

Hello world

A minimal hello-world application built with an alpha version of the twenty-cli.

⚠️ Since this project uses an early alpha release, expect breaking changes and evolving features.

This example will gradually gain complexity and capabilities as the twenty-cli matures with future updates.

Requirements

  • twenty-cli npm install -g twenty-cli
  • an apiKey. Go to /settings/api-webhooks to generate one

Install to your Twenty workspace

cp .env.example .env
  • replace <SET_YOUR_TWENTY_API_KEY> and <SET_YOUR_TWENTY_API_URL> accordingly
twenty auth login
twenty app sync

What it does

  • creates a new object postCard with a name field
  • creates a serverless function create-new-post-card
  • two triggers on create-new-post-card:
    • one route trigger on GET /post-card/create?recipient=RecipientName
    • one databaseEvent trigger on people.created events

Development

Run dev mode and see application updates on your workspace instantly

twenty app dev