{"id":43629759,"url":"https://github.com/prismatic-io/examples","last_synced_at":"2026-02-04T16:44:04.890Z","repository":{"id":42008932,"uuid":"276745266","full_name":"prismatic-io/examples","owner":"prismatic-io","description":"Example Prismatic components and integrations","archived":false,"fork":false,"pushed_at":"2025-10-08T14:34:16.000Z","size":9426,"stargazers_count":63,"open_issues_count":1,"forks_count":9,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-10-08T15:34:43.501Z","etag":null,"topics":["custom-components","integrations","prismatic","typescript","yaml"],"latest_commit_sha":null,"homepage":"https://www.prismatic.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prismatic-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-02T21:05:47.000Z","updated_at":"2025-10-08T14:34:20.000Z","dependencies_parsed_at":"2024-06-26T23:09:27.557Z","dependency_job_id":"5dd6ca0a-0c8c-448b-b870-77267bf5ed1d","html_url":"https://github.com/prismatic-io/examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prismatic-io/examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismatic-io%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismatic-io%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismatic-io%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismatic-io%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prismatic-io","download_url":"https://codeload.github.com/prismatic-io/examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismatic-io%2Fexamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29091302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-components","integrations","prismatic","typescript","yaml"],"created_at":"2026-02-04T16:44:04.161Z","updated_at":"2026-02-04T16:44:04.884Z","avatar_url":"https://github.com/prismatic-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prismatic Examples\n\nThis repository contains sample code for Prismatic components and integrations.\nCode contained within this repo is referenced throughout Prismatic's [website](https://www.prismatic.io), [blog](https://www.prismatic.io/blog) and [docs](https://www.prismatic.io/docs).\n\n## What is Prismatic?\n\nPrismatic is the integration platform for B2B software companies. It's the quickest way to build integrations to the other apps your customers use and to add a native integration marketplace to your product.\n\nPrismatic significantly reduces overall integration effort and enables non-dev teams to take on more of the integration workload, so that you can deliver integrations faster and spend more time on core product innovation.\n\nWith Prismatic, you can:\n\n- Build reusable [integrations](https://prismatic.io/docs/integrations) in a low-code integration designer that's tailored for your product\n- Use [pre-built components](https://prismatic.io/docs/components/component-catalog) to handle most of your integrations' functionality, and write [custom components](https://prismatic.io/docs/custom-components/writing-custom-components) when needed\n- Quickly add an [integration marketplace](https://prismatic.io/docs/integration-marketplace) to your product so customers can explore, activate, and monitor integrations\n- Easily deploy customer-specific integration [instances](https://prismatic.io/docs/instances) with unique configurations and credentials\n- Provide better support with tools like [logging](https://prismatic.io/docs/logging) and [alerting](https://prismatic.io/docs/monitoring-and-alerting)\n- Run your integrations in a purpose-built environment designed for security and scalability\n- Use powerful dev tools to mold the platform to your product, industry, and the way you build software\n\n## Who uses Prismatic?\n\nPrismatic is for B2B (business-to-business) software companies, meaning software companies that provide applications used by businesses. It's a good fit for products/teams ranging from early-stage and growing SaaS startups to large, established software companies looking to improve the way they do integrations.\n\nMany B2B software teams serve customers in niche vertical markets, and we designed Prismatic with that in mind. We provide powerful and flexible tools so you can build exactly the integrations your customers need, no matter who your customers are, no matter what systems you need to connect to, no matter how \"non-standard\" your integration scenario.\n\n## What kind of integrations can you build using Prismatic?\n\nPrismatic supports integrations ranging from simple and standard to complex, bespoke, and vertical-specific.\nTeams use it to build integrations between applications of all kinds, SaaS or legacy, with or without a modern API, regardless of protocol or data format.\nHere are some example use cases:\n\n- Use job data from your system to create invoices in your customers' ERP.\n- Import and process data from third-party forms that vary significantly from customer to customer.\n- Email activity summary reports with parameters and intervals defined on a per-customer basis.\n- Build AI-powered assistants that can search, analyze, and interact with your systems.\n\nFor information on the Prismatic platform, check out our [website](https://prismatic.io) and [docs](https://prismatic.io/docs).\n\n## Repository Contents\n\n- `ai/` contains AI agent examples using OpenAI's Agent SDK for building intelligent integrations.\n- `api/` contains sample code that interacts with Prismatic's [GraphQL API](https://prismatic.io/docs/api/api-overview/).\n- `components/` contains code for sample custom components, which are a good reference for building your own custom components.\n- `integrations/` contains sample integrations written in YAML and Code-Native Integration examples written in Typescript.\n\n## AI Agent Examples\n\nThis repository includes production-ready examples of AI-powered integrations showcasing various use cases and patterns:\n\n### [OpenAI Agent Integration](ai/openai-agent/)\n\nA comprehensive reference implementation featuring 7 production-ready flows that showcase advanced agent patterns:\n\n- **Basic Chat** - Simple conversational AI without tools\n- **API Agent** - Demonstrates wrapping REST APIs as AI tools with approval flows\n- **Human Approval** - Human-in-the-loop pattern for sensitive operations\n- **Agent Routing** - Dynamic routing to specialized agents based on intent\n- **Integrations as Tools** - Dynamically discovers and uses deployed Prismatic integrations as AI tools\n- **Agent as Tools** - Composes specialized agents as reusable tools\n- **Hosted Tools** - Leverages OpenAI's built-in web search and code interpreter\n\nIncludes interactive chat scripts for local testing and comprehensive state management with both file-based and Prismatic-based storage backends.\n\n### [Slack Chatbot Agent](ai/slack-chatbot-agent/)\n\nA production-ready Slack Assistant integration that demonstrates enterprise AI assistant patterns:\n\n- Implements Slack's Assistant framework with proper webhook handling and 3-second acknowledgment\n- Features approval flow UI with Slack blocks for tool execution authorization\n- Manages conversation state across message threads with execution tracking\n- Dynamically discovers customer-specific Prismatic integrations as AI tools\n- Includes robust retry handling and state persistence\n- Supports both development (file-based) and production (Prismatic-based) state storage\n\n### [Slack Incident Monitoring](ai/slack-acme-incident-monitoring/)\n\nAn AI-powered incident management system that processes anomaly alerts:\n\n- Analyzes system anomalies and determines appropriate actions\n- Requests human approval through interactive Slack messages\n- Automatically creates incidents with on-call staff assignment\n\n### [Salesforce Lead Enricher and Router](ai/salesforce-lead-enricher-and-routing/)\n\nIntelligent lead processing with AI-powered enrichment and routing:\n\n- Detects and handles duplicate leads automatically\n- Enriches company data through AI web research\n- Scores leads based on business criteria\n- Creates qualified leads in Salesforce with intelligent routing\n\n### [Jira Issues from Error Logs](ai/jira-issues-from-error-logs/)\n\nAutomated error log analysis and issue creation:\n\n- Analyzes system error logs using AI to identify critical problems\n- Automatically creates Jira issues for high-confidence errors\n- Reduces manual effort in error monitoring and issue tracking\n\n### [Dropbox PDF Receipt Extraction](ai/dropbox-extract-receipt-from-pdf/)\n\nDocument processing and data extraction from PDFs:\n\n- Automatically processes PDF receipts from Dropbox\n- Uses AI to classify documents and extract structured data\n- Extracts items, prices, totals, and vendor information into JSON format\n\n### [Next.js AI Chatbot](ai/nextjs-chatbot/)\n\nA modern chat interface for AI-powered integrations:\n\n- Next.js application with Prismatic AI marketplace integration\n- Demonstrates building custom chat interfaces with marketplace tools\n- Shows how to embed AI capabilities in customer-facing applications\n\nAll examples include comprehensive testing utilities, proper error handling, and production-ready architecture patterns for building intelligent integrations that can understand context, make decisions, and interact with various systems on behalf of users.\n\n## License\n\nThis repository is [MIT licensed](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprismatic-io%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprismatic-io%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprismatic-io%2Fexamples/lists"}