Getting Started with Priority ERP
Prerequisites
- Priority API License.
- Open access to Priority via port 443. If you can’t open this access, you can also just whitelist our IP (see below).
- 34.159.217.185
- 34.141.24.31
- Enabled API access to FORMLIMITED form.
- Optional – Dictionary Module: To enable language-specific operations for both CRUD operations (Create, Read, Update, Delete) and procedures, ensure that the dictionary module is activated in your Priority ERP system. By default, the API will operate according to the system language unless specified otherwise.
Connecting Engini to Priority ERP
- Enter your Engini account at https://app.engini.io.
-
Navigate to Connections page by clicking on the Connections on the left sidebar or by clicking here.

-
Click on the “New Integration” option located at the topbar.

-
Choose Priority’s option from the available applications.

-
Enter the following details in the “Edit Connection” form:

- Connection name - Choose a significant name.
-
API Url - Including the tabula.ini.
For example: https://erp.engini.io/odata/Priority/tabula.ini.
- To specify the language for API operations, append a comma and the language code to the end of the URL. For example, for American English, use “https://erp.engini.io/odata/Priority/tabula.ini,3“.
- Database name - Company id in companies form.
- API Username - Companies that use Priority identity management module should place their personal access token.
- API Password - Companies that use Priority identity management module should place “PAT” in all caps.
-
WebSDK URL - Optional. used when using a dedicated priority connector. X-App-Id & X-App-Key

- WebSDK Username - Optional. used when using a Priority’s form activations, for example, for printing a Price quotation document.
- WebSDK Password - Optional. used when using a Priority’s form activations, for example, for printing a Price quotation document.
- Time Zone - Choose the correct time zone of your location, or you enterprise location.
-
Communication Channel - Choose the appropriate connection type based on your setup:
- Cloud - If you are connecting to a database hosted in a cloud environment, select “Cloud”.
- OPA - If your database is on-premises and you are using an On-Premises Agent (OPA) for the connection, select “OPA”. In this case, an additional field will appear: On-Prem Agent - Choose the specific On-Premises Agent that you want to use for this connection if you have multiple agents configured.
-
Advanced settings

- Key - Enter the username provided by your Priority service provider.
- Value - Enter the corresponding password for the username above.
- Save Settings - Click on the Save button located at the bottom of the form.
Main Form Records
Engini’s main form activities let you interact with main form entity records such as Customers, Sales Orders, Purchase Orders etc and do the following:- Create a record
- Update a record
- Get a record
- Get records
- Get notified when a record is created / modified (depending on the business rule defined in Priority)
Triggers
Sales Order updated
Triggers when a “Send webhook” business rule defined in the Sales Orders form / Sales Orders BPM is activated.
- URL - The webhook endpoint where the updated record data will be sent. This is the destination that receives the event.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Actions
Create Sales Order
Creates a new Sales Order.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Update Sales Order
Updates an existing Sales Order.
- Order - Enter the Sales Order number of the record you want to update.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Sales Order
Retrieves a specified Sales Order.
Get Sales Orders
Retrieves a list of Sales Orders.
- Output fields - You can select specific fields from a column dropdown menu to retrieve only relevant information instead of getting all fields by default.
- Top N - You can set the maximum number of Sales Order records Engini will return during one workflow cycle (default = all records).
- If you set
Top N = 1, a single record will be returned instead of an array. If no record is found, the action will fail, allowing you to implement an IF condition within the workflow. This can be useful for processes where the existence of a record determines the next steps in the workflow.
- If you set
- Offset - The offset parameter allows you to skip a certain number of records from the beginning of the result set (default = 0 records).
- Add Filter - Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
- Add Sort - Click Add Sort to organize the data list by a selected field in ascending or descending order. To learn more about sorting data, click here.
Uploading Files to Priority (Version 21 and Above)
To upload files in Priority, follow these steps starting from version 21:Download File from URL Activity

- Url - In the URL field, specify the URL from which the desired file is to be downloaded. For more information about the action click here.
Create Attachments Activity

- Order(Sales Orders) - Select the specific Sales Order record to which the attachment will be added. This defines the parent order that the new attachment will be associated with.
- File Path - The structure by Priority should follow this pattern-
“data:();base64,()”. To execute this process, use the following functions:
- Concat- This function enables the merging of various elements into a single string, crucial for constructing the file path structure required by Priority.
- For your convenience, you can copy the contents of the Concat function. Don’t forget to include the BASE 64 as a property and the “GetMimeType” function: Concat(‘data:’,GetMimeType(Populate here the file extension),‘;base64,’,Base64 String)
- GetMimeType- This function is utilized to fetch the MIME type associated with a specific file extension, a vital component within the file path construction process. For example:
- Concat- This function enables the merging of various elements into a single string, crucial for constructing the file path structure required by Priority.
- File Name - The file name should include the extension of the specific file. You can populate the field in one of the following options:
- Static value – number / string. When using strings you need to surround them with single quotes (‘).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Expression – using functions and/or Previous activity properties and/or static values (Using the tooltip that opens when clicking on the field).
Form Activations
To use Priority’s form activations, follow these steps:WebSDK details
-
Navigate to Connections page by clicking on the Connections.

-
Press on the 3 dots on the right side of the Priority connection

-
Click on the “Edit” option.

-
Enter the WebSDK username and password and press Save.
- If your Priority On the public cloud (AWS), you have to enter the WebSDK URL as well.
- For production environments, the url is: https://p.priority-connect.online/wcf/service.svc
-
For test environments, the prefix is an s, instead:
https://s.priority-connect.online/wcf/service.svc

- If your Priority On the public cloud (AWS), you have to enter the WebSDK URL as well.
Form Activation Activity

-
Form name - Choose the Form name from the drop down menu. The available forms are the open parent screens and child screens from your Priority account.

-
Activation - Choose the Activation from the drop down menu. According to the Form name, an identifier field will appear. Enter a static value as you can see at the image below:

- Quote Number – Enter the specific quote identifier to retrieve or filter the related subform records. This value determines which quote the action will be executed against.
- Add Subform Filter – Allows you to add additional filtering conditions to the subform data. This helps narrow down the returned records based on specific field values or criteria.
-
Repeat steps 1-2 until all required fields are filled up and “Ran successfully” message will appear.

- Run - Press Run. Each Run can add new fields to fill in.
Run Procedure Activity
Prerequisites:- EPROG form is accessible to API in FORMLIMITED form.
- The user used for the integration should have at least read privileges to EPROG form.
- The user used for the integration should have privileges to execute the relevant procedure.

-
Procedure name - Choose the procedure name from the field options tab in the tooltip menu. All the available procedures.

- Fill in the required fields with static values first to setup the activity.
-
Run - Press Run. Each Run can add new fields to fill in. When you need to reset the values you can press the “Reset” button.

- Repeat steps 2-3 until all required fields are filled up and “Ran successfully” message will appear.
- After the procedure ran successfully, you can now change the relevant static values to parameters to allow the workflow to run using dynamic values.