As well as a substantial library of specific MIS plugins, we also offer our own Infigo Connect: Flow plugin. This plugin was developed as more of a general catch all for integrations where a JSON or XML file is required to be created on order placement and then absorbed by a third party system.
This article aims to explain the basics around what our Infigo Connect: Flow plugin does and how you can use it within your Infigo setup.
What does the plugin do?
The Infigo Connect: Flow plugin provides job information in a specified file type and format that can then be handled externally by a third party software.
When does it get triggered?
This depends on the product types that are being ordered but fundamentally when an order is placed.
If you are ordering variable products (MegaEdit or Infigo Editor) then it will wait until the dynamic output files have been created.
If you are ordering standard products or static products that do not require an output then it will trigger as soon as the order is placed and paid for.
What file types are supported?
As part of the configuration you have the option to generate either an XML or a JSON file. These are in a specified format and structure that we have pre-determined and examples of both can be found below.
What if these formats are not what we require?
As part of the configuration we allow for an XSLT file to be applied to the XML so that it can be transformed into any format. This means that you can take our standard XML format we create and from that generate a different XML, HTML, XHTML, plain text etc. What we export will then be in a format you expect and can handle.
Where can the files be placed?
The Infigo Connect: Flow plugin supports downloading the data file into a specific hot folder, this can be configured per storefront and will then allow you to download it through Infigo Sync.
We also support exporting the file to an FTP location.
Finally, we support the ability to post the file to an API endpoint, along with credentials, so that it can be sent directly to a third party system.
Can I email my JSON or XML directly to someone?
Yes - under Email Details simply check Send to Emails and insert the email address(es), you can also BCC an email if needed.
We have a predefined Email ESLT you may use called Email, or, write your own for your needs.
Want help from Infigo Software to generate the transformation files?
This is a professional service that we offer at an additional development charge.
If you want to request assistance then please provide us with the following:
* Download our example XML file, take a look at all the fields provided
* Generate an XML file in the format that you require
* Add the mapping for the fields that we provide in your structure, so that each field in your structure is mapped to a field from our structure.
* If you want it posted to an API end point then please supply us with the credentials and ensure that we have access.
What is the extra data node?
Extra data is an additional data attached to the order and/or order line. It is a key/value property which can be set using MegaScript or API mechanism.
Once the order/orderline contains the extra data, Infigo Connect: Flow will include it in json/xml request.
What is the "Exclusion list for Extra Data" setting?
The exclusion list is a list of extra data which are ignored for order/orderline request.
To exclude a specific extra data you need to write the extra data key in the textbox.
Each new extra data should be separated by a new line.
There is a possibility to exclude the extra data by a regular expression.