If your customer’s intervention is required, FlaPeak will generate an event. You shall subscribe to these events via webhooks and implement a communication flow that will inform your customers and enable them to take necessary action.

Tariff event types

You will need to subscribe for and implement handling of the following three events:

EventDescription
tariff.expiringOccurs when a contract term for tariff will expire soon (i.e. 7 to 10 days).
tariff.expiredOccurs when a contract term for tariff has expired.
tariff.fetch.failedOccurs when a series of attempts to sync tariff from an upstream data source has failed. For example when a customer changes their password for their dashboard account with their energy provider.

Building customer communication flow in your app

When your backend system receives any of the events described above, you need to inform your customer that they need to update their tariff information.

We recommend that you use the location_id from the event and send the customer a notification to invite them to open the tariff settings page in your app. From there, they can review which tariff needs updating, launch Connect and fix the issue.