The Peliqan low-code Python environment provides single line functions to interact with APIs from connected SaaS applications. These functions abstract away the complexities of working with a specific API (authentication, error handling etc).

Here’s an example to write a contact to Hubspot (CRM):

hubspot_api.add('contact', {"email": "[email protected]", "name": "John Doe"})

And here’s an example to send a message to Slack:

slack_api.add('message', channel = 'QA', text = 'Data quality alert')

Use cases: data activation

The Peliqan SaaS API wrapper functions can be used for various use cases. We refer to these use cases as “Data Activation”. Here are a few examples:

Connecting a SaaS API

First, add a connection in Peliqan under My Connections, for example Hubspot. Note that a SaaS connection in Peliqan is used for 2 things: