Add a Connection to MYOB in Engini
Prerequisites
- A MYOB account with an online company file.
- An administrator of that company file. MYOB asks the administrator to approve the access when you sign in from Engini.
- A MYOB app registered in the MYOB developer portal, as described below. It gives you the API key and API secret that Engini needs. Note: MYOB creates one API key per app, and every app has its own redirect URL. That is why you register your own app in MYOB and connect Engini with Custom OAuth 2.0.
Register an app in MYOB
- Sign in at https://my.myob.com.au.
- Open the Developer tab and click Register App.
- In Engini, open the New Integration form for MYOB (see below) and copy the Callback URL. In MYOB, enter it as the Redirect URL of your app.
- Save the app. MYOB shows the API key and the API secret of your app. Copy both.
- Have your MYOB business Id ready. It identifies the company file you want to work with.
sme-general-ledger, sme-sales, sme-timebilling, sme-inventory, sme-contacts-customer, sme-contacts-supplier, sme-contacts-personal, sme-contacts-employee, sme-banking, sme-purchases, sme-payroll, sme-company-settings and sme-company-file.
Connecting Engini to MYOB
- Enter your Engini account at https://app.engini.io.
-
Navigate to the Connections page by clicking on Connections in the left sidebar or by clicking here.

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

-
Choose the MYOB option from the available applications.

-
Enter the following details in the “New Integration” form and press Save.

- Connection Name - Enter a name that helps identify the MYOB connection.
- Callback URL - A read-only address that Engini provides. Click the copy button and add it as the redirect URL of your app in MYOB, as described in Register an app in MYOB.
- Client Id - Enter the API key of your MYOB app.
- Client Secret - Enter the API secret of your MYOB app.
- Business Id - Enter your MYOB business Id, which identifies the company file you want to work with.
- Signin - This button stays greyed out until you fill in the Client Id and Client Secret. Then click it, sign in to MYOB as an administrator of the company file and approve the access that MYOB asks for.
- Save - Click Save to create the connection.
Supported objects
MYOB keeps your data in many kinds of records. The Object Type field of the actions and of the trigger lets you choose which kind of record to work with. This table shows which objects each activity supports.
Notes:
-
- Journal Transaction, Bank Statement, Account Register, Category Register and Job Register are read-only: you can get them, but you can’t create or delete them.
- The Object Type list of each activity shows only the objects that activity supports.
Triggers
Check for New or Updated Records
Starts the workflow when a record of the object type you choose is added or changed in your MYOB company file. Engini checks MYOB on the schedule you set. The first check only sets the starting point, and each later check returns the records added or changed since the previous check.
- Object Type - Select the type of record you want to watch, for example Customer or Item Invoice. The trigger supports the objects marked in the Supported objects table.
- Starting (UTC) - Select the start date and time for the scheduled trigger.
- Recur every - Choose the time interval for triggering and checking records. The minimum time interval is 15 minutes.
- Add time frame - You can specify a time frame during which the trigger will operate.
- 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 Record
Creates a new record of the object type you choose in your MYOB company file.
- Object Type - Select the type of record you want to create, for example Customer or Item Invoice. The action supports the objects marked in the Supported objects table. After you select it, the fields of that object that you must fill in appear below.
- Add Field - Click Add Field to add and populate additional fields for the selected object. To learn more about managing activity data, click here.
Delete Record
Deletes a record from your MYOB company file.
- Object Type - Select the type of record you want to delete, for example Customer or Tax Code. The action supports the objects marked in the Supported objects table.
- Record Id - The record to delete. Click the field and choose the record from the list of your MYOB records of that object type that Engini loads, or map the Id from a previous step, for example the output of Get Records or Check for New or Updated Records.
Get Company Information
Retrieves the information of your MYOB company file.
Get Record
Retrieves a single record of the object type you choose from your MYOB company file by its Id.
- Object Type - Select the type of record you want to get, for example Customer or Item Invoice. The action supports the objects marked in the Supported objects table.
- Record Id - The record to retrieve. Click the field and choose the record from the list of your MYOB records of that object type that Engini loads, or map the Id from a previous step, for example the output of Get Records or Check for New or Updated Records.
Get Records
Retrieves records of the object type you choose from your MYOB company file.
- Object Type - Select the type of record you want to get, for example Customer or Item Invoice. The action supports the objects marked in the Supported objects table.
- 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.
- Top N - You can set the maximum number of records Engini will return for the object you chose (default = 50 records, maximum = 1000 records).
- Offset - The offset parameter allows you to skip a certain number of records from the beginning of the result set (default = 0 records).
- 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.
Send API Request
This activity allows you to send a custom API request directly to MYOB’s API.
- Base Url - The root URL of the MYOB API. It is filled in from your MYOB connection and can’t be edited here.
- Relative url - You can specify additional path segments or parameters that need to be added to the end of the Base Url. Enter only the path, for example
/Contact/Customer. This allows you to customize the specific request you want to perform. - Method - Select the HTTP method (e.g., Get, Post, Put, Delete, Patch). The default is POST.
- Body Type - Defines the format of the data in the body of your request. The default, application/json, means the body contains a JSON-formatted payload.
- application/json – Sends the request body in JSON format. Commonly used by REST APIs.
- custom – Allows you to define a custom body format by manually setting the Content-Type header. Add a
Content-Typerow in Add Headers with the media type you need (for exampleapplication/xml). With any other Body Type, a Content-Type you type in Add Headers is not sent; Engini sets it from the Body Type, and the run history shows it underheadersnotsent. - application/x-www-form-urlencoded – Sends the body as URL-encoded key-value pairs, commonly used in form submissions.
- file – Sends a file as the request body.
- multipart/form-data – Sends form data that may include both text fields and files.
- text/html – Sends the request body as HTML content.
- text/plain – Sends the request body as plain text.
- text/xml – Sends the request body in XML format.
- Body - Contains any data that is being sent to the server.
- Add Headers - Additional metadata about the request, such as the type of data Engini can accept, the length of the request body, and authentication information.
- Add Queries - The query refers to the parameters or data that are included in the URL of an HTTP request to provide additional information or instructions to the server.