Overview
This feature allows users to create and configure custom events in the platform, providing a way to notify either Neostella or connected external systems when a defined action or change occurs.
These buttons can trigger internal platform processes, such as automations, or publish events to external partners and integrations so downstream systems can respond accordingly.
Prerequisites & Dependencies
- Access to control center
Required Permissions
- Create Component Permissions
- Create Automation Permission
- Create Views Permissions
- Control Center
- Custom Events
Limitations
- Buttons are components that depend on the context. They can be used around the system, but are limited to the related context.
Configuration Steps
*Reference image of the Custom Button on a View in a Project of the type: Personal Injury
There are three main steps to configure and visualize a Custom Event in the platform:
- Create a Button Component
- Configure an Automation
- Add the button to a Custom View
For this article, a Send Email Custom Event will be created as an example.
- Create a Button Component:
- Navigate to Control Center -> Schema.
- Go to Views.
- Select the COMPONENTS tab.
- Click on +New Component.
- Fill all the required fields.
- Select Component Type: Button.
- Define Sub type: Custom Event.
- Add an Event selector name. (It is recommended to use the same API name as the name above)
- Click on SAVE.The Button Component has been created.
Note: The Event selector name will be used to trigger the automation in the following steps.
- Configure an Automation:
- Navigate to Automations under the Process Studio section.
- Click on + NEW AUTOMATION.
- Add a Name. The user can also add a description for more context.
- Click CREATE.
- Configure Starting Rule by clicking on it. This will open the configuration drawer.
- Select a Source: Neostella.
- Select an Action: Neostella Object Event.
- Now look for the Event configuration section.
- Look for Neostella Object and select: Custom Event Buttons.
- Define the Object Action by selecting Clicked.
- Now configure the trigger in the edit condition field.
- Select: WHEN custom-event-button.selector = event selector (The one configured previously).
- Click on SAVE AND TEST. This will save the rule and bring the available Outputs.
- Add the next Step by clicking on the + in the middle of the card (Automation node) in the Canva.
- In the Node Setup menu, search for the Send Email option.
- Click on step 2 to open the configuration drawer.
- Now fill all the required fields in the Email Details section:
- Recipient Email Address
- Email Subject
- Tenant name (This will be the sender email direction)
- Optional: Text, Sender Name, Project ID, Attached Document.
- Click on SAVE.
- Users have created the automation.
Now, users must create a view to place the button and trigger the automation.
- Add the button to a Custom View:
- Navigate to Schema, then go to Views.
- Select the +VIEW.
- In the Design Canvas look for the components.
- Add a basic structure for the view.
- Drag and drop a Button component.
- Select the component to activate the configuration panel of the component.
- On the right panel, select the Custom Event Type.
- Now select the button and add a label, for this example it will be Send Email.
- Now click on SAVE and navigate to the DISPLAY Tab.
- Configure the Project type.
- And add a Menu Label and Number of order.
- Finish by clicking SAVE.
NOTE:
- Users can also add it to a Form, just go to Schema -> Forms -> Select Object and on the form edition field add the custom event button.
- Configure the button on the right panel.
Reference image of the icon:
Validation
- Go to Cases.
- Select the created Project.
- Look for the created label and icon for the view.
- Open the View.
- The button must be displayed.
- Click the Button.
- The system will notify that the email was sent.
- Confirm by going to the Inbox of the email configured as recipient.
Add note about automation execution history.
Troubleshooting
- Make sure the event selector name is the same as the API.