You are here:
Customize Billing and Usage Assistant Omnistudio Components
Customize the Billing and Usage Assistant by adding or removing Flexcards or by modifying the Integration Procedures that are used as data sources by the Flexcards.
Billing and Usage Assistant is built using Flexcards that use various Integration Procedures to fetch and save the required data.
Here's reference information about the Omnistudio components in Billing and Usage Assistant. Use this information to plan your customizations.
Data Mappers in Billing and Usage Assistant
With Data Mappers, you can read, transform, and write Salesforce data.
Here are the Data Mappers used in Billing and Usage Assistant.
Integration Procedures in Billing and Usage Assistant
Integration Procedures can read and write data from Salesforce and from external systems (by using REST calls) and can call Apex code.
Here are the Integration Procedures used in Billing and Usage Assistant.
| Integration Procedure | Description | Sample Input | Sample Output |
|---|---|---|---|
| SFIDataAndCallUsageAnalysis | For Data Consumption Inquiry or Call Usage Inquiry, this IP analyses usage consumption based on the provided date range with Einstein GPT, and generates context and suggestions. | |
|
| SFIBillingGetAccountInfo | Retrieves basic billing account information. By default, this IP returns stub data. You can configure your custom data source. | — | |
| SFIBillingGetInvoices | Retrieves invoices for a billing account. | — | |
| SFIBillingGetOverviewData | Retrieves billing overview information based on the account ID. Combines the responses from multiple IPs to return billing account details, last bill details, and last payment details. | — | |
| SFIBillingGetPaymentAndBalanceData | Retrieves billing, payment, and balance information based on the account ID—you can customize the IP to return the number of invoices with numberOfBills. |
{ "numberOfBills": "2"} | |
| SFIBillingGetPayments | Retrieves payments for a billing account. | — | |
| SFIBillingGetUsageData | Retrieves billing and usage records for an account ID, invoice number, and usage type. | |
|
| SFIBillingGetUsageDataForComparison | Retrieves the usage data for two invoices for the Unexpected Bill Amount Inquiry when two invoices are selected. | — | |
| SFIBillingAnalysisHighBill | Analyzes a high bill based on the provided usage data with Einstein GPT and generates context and suggestions. | |
|
| SFIPaymentAndBalanceAnalysis | Analyzes payments and balance related invoice data with Einstein GPT, and generates context and suggestions. Retrieves the response in an HTML tabular format. | — | |
FlexCards in Billing and Usage Assistant
FlexCards contain a combination of information and links to processes within a specific context based on the data source provided.
Here are the FlexCards used in Billing and Usage Assistant.
| FlexCard | Data Source | Required Input | Sample Input | Used In |
|---|---|---|---|---|
| SFIBillingInquiryAssistantHeader | None | None | NA | The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIBillingInquiryAssistantQueryType | Omniscript JSON | Inquiry Type | |
The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIBillingInquiryAssistantResponse | None | None | NA | The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIBillingInquiryDisclaimer | None | None | NA | The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIBillingInquiryGPTResponse | Omniscript JSON | Einstein response | |
The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIBillingInquiryViewMore | Omniscript JSON | Einstein response for Payments and Bills. | |
The sfi_BillingInquiryAssistant_multiLanguage Omniscript |
| SFIPaymentsBalancesViewMoreModal | Omniscript JSON | Einstein response for Payments and Bills. | |
The sfi_BillingInquiryAssistant_multiLanguage Omniscript |

