Skip to main content
Let’s learn how to connect Engini to MYOB. This integration lets you work with your MYOB company file from your workflows: start a workflow when customers, suppliers, employees, invoices, orders, quotes, inventory items, accounts or tax codes are added or changed, and get, create or delete your contacts, sales, purchases, payments, inventory, accounts, tax codes, journals and bank transactions. To get started, create an account at MYOB.

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

  1. Sign in at https://my.myob.com.au.
  2. Open the Developer tab and click Register App.
  3. 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.
  4. Save the app. MYOB shows the API key and the API secret of your app. Copy both.
  5. Have your MYOB business Id ready. It identifies the company file you want to work with.
Engini asks MYOB for these permissions when you sign in: 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

  1. Enter your Engini account at https://app.engini.io.
  2. Navigate to the Connections page by clicking on Connections in the left sidebar or by clicking here. Engini - Connections page
  3. Click on the “New Integration” option located at the top bar. Engini - New Integration button
  4. Choose the MYOB option from the available applications. MYOB - Choose Application
  5. Enter the following details in the “New Integration” form and press Save. MYOB - New Integration form
    1. Connection Name - Enter a name that helps identify the MYOB connection.
    2. 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.
    3. Client Id - Enter the API key of your MYOB app.
    4. Client Secret - Enter the API secret of your MYOB app.
    5. Business Id - Enter your MYOB business Id, which identifies the company file you want to work with.
    6. 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.
    7. 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. MYOB - Check for New or Updated Records trigger
  1. 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.
  2. Starting (UTC) - Select the start date and time for the scheduled trigger.
  3. Recur every - Choose the time interval for triggering and checking records. The minimum time interval is 15 minutes.
  4. Add time frame - You can specify a time frame during which the trigger will operate.
  5. 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.
Under the fields, Next Run at shows when the trigger will run next. Each record is passed to the next steps with the properties of the object type you chose, for example Id, Company Name, Last Modified and Row Version for a customer.

Actions

Create Record

Creates a new record of the object type you choose in your MYOB company file. MYOB - Create Record action
  1. 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.
  2. Add Field - Click Add Field to add and populate additional fields for the selected object. To learn more about managing activity data, click here.
Note: MYOB does not return the new record when it creates it, so this action returns no data. To find the new record afterwards, use Get Records. Note: For Customer, Supplier, Employee and Personal Contact, the First Name and Last Name fields appear only when Is Individual is Yes, and Company Name appears only when Is Individual is No.

Delete Record

Deletes a record from your MYOB company file. MYOB - Delete Record action
  1. 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.
  2. 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. MYOB - Get Company Information action This action has no fields to fill in.

Get Record

Retrieves a single record of the object type you choose from your MYOB company file by its Id. MYOB - Get Record action
  1. 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.
  2. 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. MYOB - Get Records action
  1. 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.
  2. 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.
  3. Top N - You can set the maximum number of records Engini will return for the object you chose (default = 50 records, maximum = 1000 records).
  4. Offset - The offset parameter allows you to skip a certain number of records from the beginning of the result set (default = 0 records).
  5. 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. MYOB - Send API Request action
  1. Base Url - The root URL of the MYOB API. It is filled in from your MYOB connection and can’t be edited here.
  2. 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.
  3. Method - Select the HTTP method (e.g., Get, Post, Put, Delete, Patch). The default is POST.
  4. 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-Type row in Add Headers with the media type you need (for example application/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 under headersnotsent.
    • 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.
  5. Body - Contains any data that is being sent to the server.
  6. 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.
  7. 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.
Your MYOB sign-in and API key are sent automatically with every request. For the full list of endpoints, see the MYOB Business API reference.