Who it is forA technical sales ops lead or developer whose CRM needs a custom record type that the standard setup does not cover.
The problemStandard CRM records do not match the business, and changes made by hand in a UI are hard to track and repeat.
The outcomeA deal object with name, amount, and close date fields is defined in code and available in your Twenty workspace.
What you need first
- A computer with Node.js and npm, since the README uses npx commands (inferred)
- A Twenty workspace to publish to, from twenty.com or a self-hosted instance
- Docker, if you plan to self-host with Docker Compose
Steps
- Run
npx create-twenty-app my-appto scaffold a new app. - In the new project, define an object with
defineObjectfrom 'twenty-sdk/define', using nameSingular 'deal', fields for name (TEXT), amount (CURRENCY), and closeDate (DATE_TIME). - Run
npx twenty app:publish --privateto ship the app to your workspace. - Open the workspace and confirm the Deal object and its fields appear.
Prompt for your agent
Using the twentyhq/twenty repo, scaffold an app named <app-name> with `npx create-twenty-app <app-name>`, then define a deal object with name, amount, and closeDate fields as shown in the README example. Publish it with `npx twenty app:publish --private` and report the publish output. Verify that the Deal object appears in the <workspace-name> workspace.
Caveat. The README shows the object definition and publish command but does not describe the workspace access needed for `app:publish`, so check your access before you start.
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page