Learn how to format currency using the Number Formatter feature in Pabbly Connect. Step-by-step guide for integrating payment applications effectively. This comprehensive guide reveals exactly how to connect your applications and automate repetitive tasks — accessible for professionals of all technical backgrounds.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Currency Formatting

To begin formatting currency using Pabbly Connect, first access your Pabbly Connect dashboard. This platform allows you to integrate various applications like Stripe and Razorpay seamlessly. Start by signing up for a free account to get 100 free automation tasks each month. using Pabbly Connect

Once logged in, click on the ‘Create Workflow’ button. You will be presented with options for setting up your trigger and action. Pabbly Connect enables you to automate workflows effectively, and in this case, we will capture payment details from Razorpay.


2. Configuring the Trigger Event in Pabbly Connect

In this section, you will set up the trigger event using Razorpay. Select Razorpay from the list of applications and choose the trigger event labeled ‘Payment Captured.’ This event will initiate the workflow whenever a payment is captured. using Pabbly Connect

  • Select Razorpay as the application.
  • Choose ‘Payment Captured’ as the trigger event.
  • Copy the provided webhook URL to connect Razorpay with Pabbly Connect.

After setting up the trigger, follow the instructions to establish the connection with Razorpay. This webhook URL is essential for fetching payment data into Pabbly Connect.


3. Capturing Payment Details from Razorpay

Once the trigger is configured, you can test the integration by capturing a payment through Razorpay. Fill in the required payment details on your Razorpay payment page. For example, enter an amount of 350 rupees and complete the payment process. using Pabbly Connect

After completing the payment, return to Pabbly Connect to see if the payment details have been captured. You should see the payment details including the payment ID and amount. However, the amount may display incorrectly, showing 35,000 instead of 350.


4. Using the Number Formatter to Correct Payment Amount

To correct the displayed payment amount, you will utilize the Number Formatter feature in Pabbly Connect. Add a new action step and select ‘Number Formatter’ from the list of applications. Choose the action event ‘Perform Math Operation’ to adjust the amount correctly. using Pabbly Connect

In the configuration, map the payment amount from the Razorpay step. You will need to divide the amount by 100 to remove the extra zeros. Enter the mathematical operation as follows:

  • Select the mapped payment amount from Razorpay.
  • Input 100 as the divisor.
  • Choose ‘Divide’ as the operation.

Once this is set, save and send a test request. You will receive the corrected payment amount in the result label, which you can then use for further actions.


Conclusion

In this tutorial, we explored how to format currency using the Number Formatter feature in Pabbly Connect. By following these steps, you can easily capture and correct payment amounts from applications like Razorpay. Pabbly Connect simplifies the integration process, allowing for efficient automation of your workflows.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.