SMS Magic with Various Zoho Apps

Unlock the power of SMS-Magic across a range of Zoho Apps including Bigin, Recruit, Marketing Hub, and more. This section provides comprehensive guidance to seamlessly configure and deploy automation within these applications.

0% completed
    Webhook configuration for Zoho Books

    Steps for Webhook Configuration  on Zoho Books with SMS Magic

    1. Go to Settings tab ->  “Workflow actions” under “Automation” in Zoho Books.

    2. Click on “Webhook” from the left panel.



    3. Click on “New Webhook” to create one.



    4. Enter the webhook details:

      • Name of Webhook: test_webhook_sms_magic

      • Module: Invoice

    5. For the “URL & Parameters” field, log in to the SMS Magic portal.

    6. In the SMS Magic portal, go to the “Get Started” page, then go to Step 3 from the left panel and click on the “Automation” tab.

    7. Copy the URL to notify and paste it into the “URL & Parameters” field in Zoho Books.

    8. Scroll down the page in Zoho Books and make sure the “Self Authorization” radio button is selected under “Authorization Type”.


    9. In the “Body” section, select the “x-www-form-urlencoded” radio button.



    10. In the key section, enter text. In the value section, you need to generate JSON from the SMS Magic portal and paste it here.


    11. To generate the JSON:

      • Go to the SMS Magic portal.

      • Go to Get Started -> Step 3 -> Automation tab.

      • Click the “Generate JSON” blue button.

      • Select any random module, choose the Sender ID, select the phone field as “Phone”, and write the text content.

      • Click “Generate JSON”.



      • Copy the JSON value using “Copy to Clipboard”.



    12. Paste the JSON value in the value field in Zoho Books. Make some changes in the JSON format:

    1. Under “recipient”, find the “Phone” key. Remove the old value and click “Insert Placeholder”. Select “Phone” from the dropdown, then choose “Work Phone” or “Mobile Phone” from the “Contacts” Module, where the phone number is stored.





    1. Under “lookupObjects”, find “referenceType”. Remove the old value and enter the module for the webhook trigger, e.g., Invoice.


    • The updated field will be:  "referenceType": "Invoice"




    1. Under “lookupObjects”, find “referenceId”. Remove the old value and click “Insert Placeholder”. Select the Invoice# field, which contains the Invoice ID.


    • The updated field will be: "referenceId": "${INVOICE.INVOICE_NUMBER}"


      Save the Webhook.

    1. Create an invoice by entering the invoice details:

      • Select the customer.

      • Make sure the customer has the “Mobile” or “Work Phone” field filled as it is used in the webhook.


    2. Once the customer is created, attach it to the invoice. Fill in other details like “Items to be added” and save the invoice.

    3. Go to the webhook you created and click “Save & Execute”. A pop-up will appear where you select the invoice to trigger the webhook.







    4. Select the invoice and trigger the webhook. You can see the “Message History” on SMS Magic portal




     

    Updated on Apr 07, 2025