Install Razorpay n8n Community Node

Install and configure the Razorpay n8n Community Node. Follow this step-by-step guide to set up API keys and start automating payments.


Follow the steps given below to install the Razorpay n8n Community Node.

Before installing, ensure you have:

  • n8n Instance: Running n8n v1.104.2 or higher
  • Node.js: Version 14.x or higher (for self-hosted)
  • Razorpay Account: Active account at
  • Admin Access: Permission to install community nodes

You need to generate Razorpay API keys before using the node.

  1. Log in to .
  2. Navigate to Account & SettingsAPI Keys under Website and app settings.
  3. Click Generate Key.
  4. Copy both Key ID and Key Secret.

Watch out!

Save the Key id and Secret immediately - it will not be shown again.

For Development & Testing

  • Prefix: rzp_test_
  • No real money transactions
  • Free to use
  • Use

Always start with test keys for safe development.

In n8n, create a new Razorpay API credential:

  1. Enter your credentials:
    • Key id: Your Razorpay Key id (For example, rzp_test_1234567890 or rzp_live_1234567890)
    • Key Secret: Your Razorpay Key Secret.
  2. Test the connection to ensure your credentials are working correctly.

Choose your installation method based on your n8n deployment:

  1. Log in to the n8n Dashboard.
  2. Click Settings in the left sidebar.
  3. Click Community Nodes in the settings menu.
  4. Install the Node.
    1. Click Install a community node.
    2. Enter the package name: @razorpay/n8n-nodes-razorpay.
    3. Click Install.
  5. Restart n8n. After restart, the Razorpay node will be available.

Method 2: Install via npm (Self-hosted)

For self-hosted n8n installations, run the following commands:

# Navigate to n8n directory
cd ~/.n8n
# Install the Razorpay community node
npm install @razorpay/n8n-nodes-razorpay
# Restart n8n service
pm2 restart n8n
# OR
systemctl restart n8n

Method 3: Docker Installation

If you are using n8n with Docker, add the package to your Docker setup:

# In your Dockerfile or docker-compose.yml
FROM n8nio/n8n:latest
USER root
RUN npm install -g @razorpay/n8n-nodes-razorpay
USER node

You have successfully installed the Razorpay n8n Community Node.

After installation, you can proceed with the following:

  • Create a new workflow or open an existing one.
  • Add the Razorpay node by searching and dragging it from the node panel.
  • Set up your Razorpay API credentials.
  • Choose the you want to perform (Create Order, Fetch Payment and so on.)
  • Configure the required parameters for your selected operation.
  • Test your workflow to ensure everything works correctly.

Handy Tips

  • Start with Test Mode: Always use test credentials when setting up and testing your workflows.
  • Check API Documentation: Refer to for detailed parameter information.
  • Use Webhooks: Consider setting up for real-time payment updates in your workflows.

Was this page helpful?


razorpay n8n installation
api setup
community node configuration
n8n automation
payment automation