Understanding Apps on Prisme.ai
Before diving into development, it’s important to understand what an “App” represents in the Prisme.ai ecosystem:Custom Components
Imports
Code to No-Code Interface
Legacy to Modern API
Benefits of Custom Apps
Creating custom apps on Prisme.ai offers several advantages:- Accelerated Roadmap Execution: Deploy new features and integrations quickly
- Enhanced Quality and Security: Test and secure components in a controlled environment
- Governance and Control: Restrict app development to authorized users
- Increased Productivity: Automate routine tasks and integrate various data sources
- Reusable Components: Build once, use everywhere across your organization
What You’ll Build
In this tutorial, you’ll create a Mailjet integration app that allows users to send emails directly from their automations. This practical example demonstrates the full app development lifecycle from creation to publication in the App Store.Prerequisites
Before starting this tutorial, make sure you have:- An active Prisme.ai account with appropriate permissions
- Basic knowledge of YAML for configuration
- API credentials from the service you’re integrating (Mailjet in this example)
Step 1: Creating Your App Workspace
First, let’s create a dedicated workspace for your app:Access Builder
Create a New Workspace
- Name: “Mailjet” (or the name of your integration)
- Description: Brief explanation of what the app does
- Icon: Choose an appropriate icon that represents the service
Configure Basic Settings
Step 2: Building the Core Automation
Now, let’s create the main functionality of your app:Create an Automation
Configure the Automation
- Name your automation (e.g., “SendEmail”)
- Set an appropriate slug (e.g., “send-email”)
Define the Automation Logic
Set Privacy Settings
private: true to the YAML configuration. This prevents workspace consumers from directly accessing the automation.Save the Automation
Test the Automation
Understanding the Automation Configuration
The YAML configuration above defines a workflow that:- Makes an HTTP POST request to the Mailjet API
- Uses basic authentication with encoded credentials
- Formats the request body according to Mailjet’s requirements
- Defines input arguments with user-friendly labels and placeholders
- Supports HTML content for the email body
arguments section defines the inputs that will be exposed to users when they use your app in their own automations. Make sure these are clearly named and documented.Step 3: Configuring Advanced Settings
Let’s add configuration capabilities to make your app more flexible:Create Configuration Schema
Define Configuration Fields
Update Automation to Use Configuration
Step 4: Creating Documentation
Good documentation is essential for any app. Let’s create a documentation page:Create a Documentation Page
_docConfigure Documentation Content
Make Documentation Public
Step 5: Versioning and Publishing
Now that your app is built and documented, let’s publish it to the App Store:Version Your Workspace
Publish to App Store
Configure Publication Settings
Complete Publication
Step 6: Installing and Using Your App
Now let’s see how users can install and use your app:Access App Store
Find and Install Your App
Configure App Settings
Use the App in Automations
Configure Action Parameters
Monitoring and Maintenance
After publishing your app, it’s important to monitor its usage and make improvements:Track Activity
Gather Feedback
Release Updates
Advanced App Development
As you become more familiar with app development on Prisme.ai, consider these advanced capabilities:Custom React Components
Multi-Service Integration
Advanced Authentication
AI-Enhanced Processing
Best Practices for App Development
To ensure your apps are high-quality and maintainable:- Comprehensive Testing: Test all aspects of your app thoroughly before publishing
- Clear Documentation: Provide detailed instructions and examples
- Version Control: Maintain consistent versioning practices
- Security First: Handle credentials and sensitive data securely
- User Experience: Focus on making your app intuitive and easy to use
- Feedback Loop: Establish a mechanism for collecting and acting on user feedback