Automation Hub Set up for PJM

PrintJobManager to tFlow Integration

PRINTJOBMANAGER > Knowledge Base Documentation
In this section, we will discuss the integration between PrintJobManager and tFlow via the Automation Hub.   If you do not have your account set up as a Company in Automation Hub please contact support to have it set up.    You will also need an active subscription to tFlow in order for this to be successful. If you do not have an active subscription for tFlow please contact your sales rep or for plans and pricing.
What is the Automation Hub?  Automation Hub is a tool created by Aleyant that will allow API connections from various software products to be used with tFlow, Pressero, and PrintJobManager.  It is a connecting software that is maintained by Aleyant and is what allows PrintJobManager to connect with tFlow using data workflows that have already been created without you as the customer having to navigate API’s to “re-invent the wheel” each time we connect a new customer.  This article is intended to show the connection between PJM and tFlow, for more information on the capabilities of Automation Hub please see their knowledge based articles.
Automation Hub Setup for PrintJobManager
Step 1
To Access the Automation Hub, please go to
Figure 1 shows the log in screen for Automation Hub, use your log in and password that have been provided by support upon setup.
Once you log in you will see the main screen.
Step 2
The main screen as seen in the picture above will show you all the “events” that have happened between your connected software.  In this case PJM and tFlow.  This integration log will show any
failed, completed, or issues with events that have happened.  
  1. Events:  – The integration log showing all jobs that are passing between your software connections.   Also showing what is complete, fails, or has an issue.
  2. Applications – The software apps that you wish to connect.
    1. (see below for more information)
  3. Data Flows – The connections between both softwares
    1. (see below for more information)
  4. Companies  – This is your connected account.
  5. Users – Admin users for your Automation Hub account
  6. My Profile – Your profile in Automation Hub
  7. Logout – Log out button for Automaton Hub
Create company and user

Step 1
Click on the “Companies” link in Automation hub. Then Add a new Company.

Step 2
Click on the “Users" and add a new user assigning it to  the new created company.
Take note of User email and password.
Assign the following permissions:

Setting up an Application:
Step 1
Click on the “Applications” link in Automation hub.  (see #2 in Figure 2 above)
If your PrintJobManager application is not already added by the support staff, then at the bottom of the screen you will see
“ + Add Application” 
This will open the application screen.  
Fig 3
Step 2.
In the Dropdown list you will select PrintJobManager as seen in Fig 3 above.
Fig 4
When PrintJobManager is selected it will ask for the information seen above
  1. Name – This is the name of your App.  (to be used in the PJM integration settings)
  2. Select a Company – Select the appropriate company related to your PJM instance.
  3. URL – this is the URL  for Print job manager where you log in.
    1. For European users -
    2. For All other users =
  4. Login – your PJM log in user name
  5. Password – your PJM user password
  6. Once you have entered this information click on Save
Step 3
If the tag on the app says “Disabled” then click on the 3 small vertical dots to open the drop down.   Then click the “Enable Button”   See pic below
Fig 5
If you do not have the tFlow application setup you will use the same steps as above.
Creating a Data Flows

You need to create 2 data flows, one for sending orders from PJM to tFLOW and one to send back status changes.

Data Flows in Automation Hub are the connections between the two applications.  You will need to create the data flow between your PrintJobManager account and tFlow

Step 1
Access the “Data Flows main page” by selecting Data Flows (See Fig 1 > #3 from Above)  on the navigation pane.
Step 2
After clicking on “Add Dataflow”  you will get the pop up seen below in fig 6
Fig 6
Select the PJM source application in the drop down
The select the trigger seen in the fig below of Parse Incoming data
Fig 7
After you select the trigger you will select the “Destination Application” seen in the drop down in the picture below.  In this set up it would be tFlow.
Fig 8
Now we need to select our Action from the drop down list as seen in the picture below.
Fig 9
The Action that we want to select will be “Place Order” so that the new job from PJM can be created as a new order in tFlow and pull the appropriate information.
Access the “Data Flows main page” by selecting Data Flows (See Fig 1 > #3 from Above)  on the navigation pane.
Once you have entered these details click on the “Create Data Flow” button and Automation Hub will set up the Dataflow.
Step 3

Repeat the steps but in this case set tFlow as source and PJM as the destination.
Configure this data flow as in the picture below.

Press Save.

Configuring PJM
Run PJM and co to Settings/Integrations, then edit tFlow (or add it).

Enter the PJM username and password.
Enter the username and password of the Automation Hub user you created.
Now enter the name of the data flow app you have created that is sending the Orders from PJM to tFlow:
Finally set the wanted status mapping.
For information regarding the setup of status changes from tFlow into PrintJobManager, please contact your support representative.
Once this is created, you will need to connect your product engines in PrintJobManager to the products you have created in tFlow.  That knowledge base article is located here:
If you have questions or need help, please open a support ticket by selecting this link Aleyant Support