Business Logic Service - BLS

Avatar
by banter
Follow

Banterone Business Logic Service is used to handle HTTPS operations such as API managers and may perform multiple tasks based on the logic tree.

The user will be able to construct his or her own BLS based on their needs.

To create a BLS on banterOne follow the steps mentioned below

  • Login to banterOne
  • Click on Developer Option
  • Click on ‘BLS’ from the backend menu
  • On the BLS Screen click on the ‘Add BLS’ button
  • The system will be directed to the BLS builder screen
  • Click on the ‘Info’ segment to get started
  • Enter the Name and Description of the BLS, click on the ‘Is Active’ checkbox to activate BLS immediately, and Click ‘Next’
  • On the Initial Data Screen, first, select the HTTP Type from the drop-down menu. Currently available options are - Http Instant, Http Background, and Http Fire Forget
  • Http Instant - The operation is done only when BLS is executed
  • Http Background - The operation runs continuously in the background when BLS is active
  • Http Fire Forget - ( coming soon )
  • Click the ‘Exact Output’ Checkbox and mention the name of the Output
  • Click on the ‘Add’ button for Input Parameters and Header Parameters

Input Parameters - data sent by the client to your API

  • In the Pop up enter the name, choose the data structure(String, Object, Array) and click on the ‘Required’ checkbox to make it mandatory. Click on the add button. The same process can be used to add Input or header parameters
  • The system will show the JSON query once parameters are added
  • The user can add Validations once parameters are added, by mentioning the Name of the Validation and clicking on the Add button next to it.

Validations - The action of checking the data from the Input Params

  • Click on Next once all the values for the Initial data are updated.
  • On the flow builder screen, the user can add various widget actions using the drag and drop interface. 
  • The following widget actions are currently available 
    • Unblock Number - This widget action unblocks a contact from sending and receiving messages to the banterOne account phone number.
    • Block Number - This widget action blocks a contact from sending and receiving messages to the banterOne account phone number.
    • Add Contact to the group -This operation can be completed by adding contacts to existing groups in CRM programs using this BLS.
    • Add Contact - When conducting BLS, you must add a contact to the user account and provide all of the pertinent details.
    • Schedule Message - Schedule a text message for a specific time to a specific number
    • Send Campaign - Create and send text message campaigns to a specific contact group, the campaign can be sent instantly or scheduled for a specific time.
    • Send Message - Create and send text messages to a specific number using banterOne, the message can be sent instantly or scheduled for a specific time.
    • API manager - Map the already existing API on banterOne to become part of the BLS
    • Data Pages - Use previously created data pages(data view or form view) with banterOne as part of the BLS.
    • Smart Views - Use the Smart views created on banterOne as part of the BLS. Use list view, kanban view, calendar view, card view, etc.
    • Set Variable - Use a previously created repository of text messages in your Business Logic/Process.
    • Functions - Implement scripts and CSS code in business logic with functions.
    • Random Code - Generate unique random identifiers(Text/numbers/alphanumeric) as part of the BLS.
    • Send Email - Send emails to multiple contacts with personalized dynamic data as part of the BLS
    • BLS - Previously created BLS can be used as widget actions to become part of another BLS.
    • Webhook - Webhooks are commonly used to connect two separate applications. It delivers info about the event to a webhook URL after serializing it.
    • Objects - Use standard and custom objects as part of the BLS.

BLS functioning and Workflow

 Name and Description 

  • For each widget action, the user has to update the name and description for identification

Apply Filter

  • If the user wants to apply conditions on the widget action the ‘Apply filter’ function can be used
  • For filtering ELSE and ELSE IF statements can be used
  • The user can add a contact group as part of the condition
  • The user can use functions to apply filters. Currently, available functions are - Equal, Not Equal, Like, Greater than, Less than, GreaterthanEqual, LessthanEqual

Mapping - The mapping feature allows users to configure input data for the Workflow

  • The currently available options for mapping are - 
    • Source fields - Updated from triggers
    • Variables - Updated from variables on banterOne system
    • Static - manually enter values
    • Context Parameters - Updated from user records
    • IO parse - In development

Connect Widget Action for building Workflows

  • The widget action can be arranged in sequence of execution from the flow builder screen
  • Users can arrange the sequence by clicking on the grey dot on each widget action and dragging the sequence arrow to connect with the grey dot of the next widget action in the sequence. 
  • Finally, click on the ‘Save’ button at the bottom of the flow builder screen to save the final version of the BLS. 

Note - The BLS execution documentation related to each BLS created on banterOne will be available in the ‘APIs’ feature screen.

Comments

0 comments
Article is closed for comments.