Database Connections

Hi Triggre Community!

One of our customers currently uses external applications for reporting/data analyse purposes.
This application (e.g. Qlikview/Qlik sense/Power BI) must connect with the database of the application that contains the data of interest.
To set up this connection involves creating an ODBC connnection using a DSN and then using this DSN to fetch the data.

I am wondering if this can be provided by Triggre, since some customers value this a lot.
Looking forward to your response!

Best Regards,

-Frenck

Hi Frenck,

It depends a bit on how this connection should work. The best way is to use one of the many database connections that Zapier offers, as Triggre does not support data-level connections (only process-level, by making automation flows that start with a connection triggre).

The list of all supported databases in Zapier can be found here: Top Databases Apps & Software | Zapier

With these you should be able to make a periodic sync of the data of interest for example.

Hi Frenck,

We spoke about this on the phone where you explained in a bit more detail what you want to build. Basically, you want the data in Triggre to be available to your Business Intelligence system (QlikView).

In response to your question whether we could allow ODBC connections to our database we can be brief: no. The reason we do not allow this is that we need to guarantee our platform works, which means changes to our data model occur frequently with new updates. This could then potentially break your solution.

There are a few ways that you could solve this however, which we have looked into for you:

Option 1 – SOAP
QlikView has a SOAP interface, which you might be able to call from Triggre. We looked into this for you and sadly they require a special header to be added to the HTTP request to be able to process the request. So while this won’t work for this specific case, it might be possible for other solutions that provide a SOAP interface. Triggre supports most SOAP features, except for complex typing and some other, more exotic, uses of the standard.

Option 2.1 – MySQL through Zapier
This would be our preferred way of working in this case. It requires setting up a MySQL database on a server (can be internal) and using the MySQL connector in Zapier. You could then make an automation flow that runs daily and sends the required information to that database. From there, you can pick the data up using ODBC.

Pros :

  1. Robust solution
  2. Low maintenance costs
  3. Completely no-code solution

Cons :

  1. Higher running costs than option 2.2

Option 2.2 – MySQL through SOAP
The other option is to use SOAP. You would write a small SOAP wrapper around the data you want to store in your MySQL database. From Triggre you can then simply call the SOAP web service. Sadly, there is no general solution for this, so it will require some code writing (though many solutions can generate part of this solution).

Pros :

  1. Robust; you know when your application changes and therefore you know when you need to update the SOAP wrapper
  2. Very likely lower running costs than option 2.1

Cons :

  1. Coding required to make SOAP wrapper
  2. Possibly higher maintenance costs due to coding required

We hope this gives you a good idea of which routes there are to a solution.