Bayou Energy

Bayou Energy is a utility data API: customers connect their utility account once through a Bayou onboarding link, and Bayou retrieves their utility bills and smart meter interval data from hundreds of US utilities.

The Bayou API lets you create customers and their onboarding links, retrieve parsed bills (charges, consumption, meters, tariffs and bill PDFs) and interval consumption data, unlock bills and check utility support.

With Declarative Webhooks you can create Bayou customers from Salesforce Leads, Accounts or Opportunities, send them the onboarding link, and receive webhooks to store bills and consumption data on Salesforce records as soon as they are available, for example for solar, energy efficiency or energy procurement sales.

Documentation URL: https://docs.bayou.energy/reference/getting-started-with-your-api

Installable Elements              (No items selected)



Base Elements

These elements are required for the templates below to work

  • Named Credential, External Credential and permission set used by all Bayou Energy templates to call the API with your API key.

Customers

Create, update and retrieve customers and their onboarding links, by Bayou ID or by your own external ID.

  • Creates a customer and returns the onboarding link where they connect their utility account.

  • Retrieves all the customers of your company.

  • Retrieves a customer, including their onboarding link and authentication and data readiness status.

  • Retrieves a customer by the external_id you assigned to it.

  • Updates a customer.

Bills

Retrieve, unlock and tag customer utility bills.

  • Retrieves the bills of a customer, with charges, consumption and meters.

  • Retrieves a utility bill.

  • Sets your own external_id on a bill.

  • Unlocks a bill (billable action), entirely or only for some meters.

Intervals

Retrieve interval (smart meter) consumption data.

  • Retrieves the interval (smart meter) consumption data of a customer, by meter.

Inbound Webhooks

Receive Bayou webhooks in Salesforce: an inbound call template, signing secret storage and a signature verification class.

  • Custom Metadata storing the Bayou webhook signing secret. Used by the verification class below.

  • Custom Apex class used by the inbound template below to verify the Standard Webhooks signature (webhook-signature header) of Bayou webhooks. It uses the Custom Metadata above.

  • Receives all Bayou webhooks: new and updated bills, bills and intervals ready, credentials filled and re-authentication needed.

Utilities

List the utilities supported by Bayou and their support details.

  • Lists all the utilities supported by Bayou, with support level, credentials type, reliability, MFA support and speed.

  • Retrieves the support details of one utility.

In order to install this in your org, you need to access the library from the Declarative Webhooks app in your Salesforce org, Declarative Webhooks Library tab.