Set up Discounts in Rebilling
Monthly discounts on SMS Rebilling
Guni
Last Update 7 mesi fa
Step 1- Import Rebilling Workflow Snapshot
- Use this link to import this workflow in your GHL Agency - https://affiliates.gohighlevel.com/?fp_ref=guni20&share=fESueuI4U1yCV9VQlPE3

- Import it, feel free to use a custom name.
- Click 'Back to Snapshots' once it's imported.
- It will appear in Imported Snapshots.

Step 2 - Load Snapshot in Sub account
- Visit subaccounts sections in agency.
- Click Manage Client for subaccount (can be agency subaccount/ subaccount which don't have your clients as users).
Note - Make sure that agency subaccount has all the other subaccounts added in contacts for rebilling to work.

- Click Actions < Load Snapshot.

- Choose the imported rebilling snapshot.
- Click Proceed.

- The Snapshot includes the following -
Note - You will have to set free_sms_allowed for each contact in GHL. - Custom fields -
- Sms_sent_cost_guni
- Mms_sent_cost_guni
- Free_sms_credit_usage
- Free_sms_allowed
- Workflow -
- Guni-rebilling-workflow-off-sms
- Click proceed after verifying your import fields.

- Provide further confirmations for loading the snapshot in subaccount.

- You can continue with next step once your snapshot is loaded in subaccount.
Step 3 - Set up Rebilling Workflow
- Open the imported workflow in subaccount.
- Click on the 'Inbound Webhook' trigger and copy the webhook from there.

- Open Integration settings in Guni.
- Click on 'Rebilling Settings' tab.
- Enter the Webhook URL from imported GHL Workflow in SMS/MMS rebilling.
- Click Test Connection.

- Click 'Fetch Sample Request' in GHL Inbound Webhook Trigger.

- Select the reference appearing at top.
- Click 'Save Trigger'. (Make sure it's selected and saved)

- Make sure you replace all the emails in internal notifications as per requirement.
- Also, please ensure that there is no garbage values inside any of steps. (can happen while import)
Save the Workflow and publish.
Step 4 - Set Up Rebilling for each Subaccount
- Open Integration settings in Guni.
- Click on 'Rebilling Settings' tab.
- Scroll down to 'Subaccount Configuration'.
- Click on three dots > select Billing Info.

- Set billing information -
- Customer Stripe ID - Stripe ID you wish to send rebilling to.
- Frequency - The duration after which rebilling will be sent. You can send rebilling
- Daily – for getting daily billing (SMS usage will be sent for previous day)
- Weekly – for getting weekly billing (Updated every Monday for previous week Monday to Sunday).
- Monthly – for getting billing of last month.
- Never - for never sending rebilling to the subaccount.
- Cents per SMS - The amount you wish to charge on SMS.
- Cents per MMS - The amount you wish to charge on MMS.
- Dedicated Number Price - The amount you wish to charge on Dedicated Number.
- Custom Field - Add email address of the customer to be charged.

Manual Charge -
- If you wish to charge a sub account manually at any time -
- Click on three dots in front of subaccount in Rebilling section.
- Click Manual Charge.
- Select message type (SMS/MMS/Both) and time duration for charging > click Next.

Dedicated Number Report -
You can Charge Sub Account for their Dedicated Number from here
- Click on three dots in front of subaccount in Rebilling section.
- Click Number Report.
- Verify Price and click Charge.

Activity Logs -
This section help you view the log data of every charge that has been sent.
- Click on three dots in front of subaccount in Rebilling section.
- Click Activity Logs.

