Rules common use cases

In this article, you will find use cases for rules that you can replicate and customize for your business. We will be expanding this article over the coming weeks and months to include use cases that are common amongst specific industries and business types.

Note that for selected enterprises, we help create custom rules and integrations to fit with your processes.

Bump risk score when transaction volume hits a threshold

You are onboarding merchants. You compute a initial risk score. Once the merchant is onboarded, you keep monitoring the merchant, especially its total transaction volume. You might want to use this transaction volume as another factor to bump the risk score (and trigger an early KYB refresh, or a call by your CSM team, if risk gets too high, for example).

You can hook your back office to Ondorse so that you send the transaction volume, as a custom field, to the corresponding Ondorse application, on a regular basis.

Then use the following rule to bump the score by 10 points if the transaction volume gets above 1 000 000 €.

On event application updated,

ifthen(gt(application.custom_fields.transaction_volume,1000000),Add(10))

See below how you can get alerts in your own notification system (say Slack) once risk gets above a certain threshold.

Get smart notifications in Slack

Slack is a messaging app for businesses that connects people to the information they need. By bringing people together to work as one unified team, Slack transforms the way organizations communicate.

Here is a step-by-step tutorial on how to integrate Slack with Ondorse.

  • Please go to this link: https://api.slack.com/apps?new_app=1
  • Next, you would need to create an App from scratch, give it a name and pick a workspace.
  • Once you did that you'll need to choose incoming webhooks and activate them via the toggle switch.
  • Now you will want to add a new webhook, so please click the 'Add new Webhook to Workspace' button at the very bottom of the page.
  • On the next page, choose the channel that you want to use and click 'Allow'.
  • Copy the Webhook URL and paste it into the URL field of the Ondorse rule example below.
  • Save the rule

Then use the following rule to get a notification in Slack each time an application gets approved.

On event application approved,

ifthen(
  True,
  HTTP(
    POST,
    "https://hooks.slack.com/services/thehookaddressyougotabove",
    {
      "text": "@csm_team, {{application.organization_name}} is ready to be onboarded. Let's go!"
    }
  )
)

This isn't limited to a channel, of course, you can do it with Slack DMs as well so the user receives the notification in Slack DM about an application to work on.

📘

Can we get notified about specific applications only?

Of course. Here is how. Create a rule in Ondorse and select the event/s to trigger (i.e application created, application assigned to user, etc.), then the conditions to apply to choose specific applications, and then select the action to send HTTP request and paste the code from below (the request body) inside the rule. Fill in the other fields depending on your preference.

Automatically assign agents in Intercom

This is a similar use case. We will soon write with a step-by-step tutorial to automatically create tickets in Intercom, based on applications' content.

Chase your customer with emails

Incomplete applications can really harm the time to revenue. When a document is missing or is rejected, your compliance team warns your CSM (customer service management) team so that they ask the customer for another doc. Ondorse can be plugged to your CRM so that this sequence gets fully automated.

Keep in mind that the rule below can be customized and should work with any CRM that let you send transactional email to your prospects.

On event application updated,

ifthen(
  (application.completeness_status == "waiting") && 
  (application.status_review == "pending") && 
  not(application.custom_fields.chased), 
  HTTP(
    POST,
    "https://api.zeptomail.eu/v1.1/email/template",
    {
      "email":"application.custom_fields.main_user_email",
      "first_name":"application.custom_fields.main_user_first_name"
    }
  )
)

We use Zoho ZeptoMail API in this example.

Tag VIP applications

You can identify high value prospects with rules. You can also set up corresponding views so that you can quickly and easily manage these applications or ensure they are getting to the correct person.

Take a look at the rule below and remember that you can customize each one so that it will work for your business.

On event application created,

ifthen(any(application.custom_fields.basket, 'gold_card'), Tag(Urgent))

This rule makes sure that every new prospect who has signed for a gold card gets properly tagged as Urgent in Ondorse.

Automatically approve low risk applications, but only for a certain kind of product

On event application updated,

ifthen(
  any(application.custom_fields.basket, 'platinum_card') &&
  (application.risk_score == 0) &&
  (application.status_review == "pending"),
  Approve()
)

Update Salesforce with KYB status

Tutorial incoming.

Send Ondorse data to your back office

Tutorial incoming.