Plivo Verify · emploidai Marketplace
emploidai Marketplace
Add-onsAppletsPlugins
Search tools, teams, and capabilitiesPublish
MarketplacePluginsPlivo Verify
Plugin
Limited listing

Plivo Verify

by langgenius · v0.0.7

OTP verification using Plivo's Verify API.

71 installsUpdated Jul 20, 2026
Publisher information is incomplete

This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.

Capabilities

Tools

Available inside your emploidai workspace after installation.

Data sources

Available inside your emploidai workspace after installation.

Category

tool

Version

0.0.7langgenius

Requirements

Maximum memory 1MB

Pricing

Not disclosed by publisher

Security & access

Review before installing

CompatibleRequires emploidai 1.0.0+

Permissions

  • Uses tool capability
  • Requires encrypted tool credentials

Dependencies

No additional dependencies

emploidai Marketplace

Discover capabilities. Review access. Install inside your workspace.

DocumentationSecuritySupportPrivacyTerms

Plivo Verify Plugin

OTP (One-Time Password) verification plugin for Dify using Plivo's Verify API.

Overview

This plugin enables phone number verification in your Dify workflows by sending OTP codes via SMS or voice call and validating user-entered codes.

Setup

Prerequisites

  1. A Plivo account
  2. Your Plivo Auth ID and Auth Token (found in the Plivo Console)

Installation

  1. In Dify, go to Plugins > Explore Plugins
  2. Search for "Plivo Verify"
  3. Click Install

Configuration

After installation, configure the plugin with your Plivo credentials:

FieldDescription
Auth IDYour Plivo Auth ID from the console
Auth TokenYour Plivo Auth Token from the console

Tools

send_otp

Sends an OTP code to a phone number.

Parameters

ParameterTypeRequiredDefaultDescription
phone_numberstringYes-Destination phone number in E.164 format (e.g., +14155551234)
channelselectNosmsDelivery channel: sms or voice
app_uuidstringNo-Optional Plivo Verify application UUID for custom branding/settings

Response

{
  "status": "success",
  "session_id": "7a4351ec-679c-4df6-b6fb-0afde41f756b",
  "phone_number": "+14155551234",
  "channel": "sms"
}

The session_id is required for the subsequent verify_otp call.


verify_otp

Validates an OTP code entered by the user.

Parameters

ParameterTypeRequiredDescription
session_idstringYesThe session UUID returned from send_otp
otp_codestringYesThe OTP code entered by the user

Response (Success)

{
  "status": "success",
  "verified": true,
  "session_id": "7a4351ec-679c-4df6-b6fb-0afde41f756b"
}

Response (Failed)

{
  "status": "failed",
  "verified": false,
  "session_id": "7a4351ec-679c-4df6-b6fb-0afde41f756b",
  "error": "invalid OTP"
}

Workflow Integration

Basic Verification Flow

┌─────────────────┐
│   Start Node    │  User provides phone number
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│   Send OTP      │  plivo_verify.send_otp
│                 │  Output: session_id
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  User Input     │  Ask user for the code
│                 │  they received via SMS
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│   Verify OTP    │  plivo_verify.verify_otp
│                 │  Input: session_id + otp_code
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│   IF Condition  │  Check: verified == true
└────────┬────────┘
         │
    ┌────┴────┐
    ▼         ▼
 Success    Failed

Step-by-Step Setup

1. Add Send OTP Node

Add a Tool node and select plivo_verify > send_otp:

  • phone_number: {{start.phone_number}} (from user input)
  • channel: sms (or voice for phone call)

2. Add User Input Node

Add a Question node to collect the OTP code:

  • Question: "Please enter the 6-digit verification code sent to your phone"
  • Variable name: otp_code

3. Add Verify OTP Node

Add another Tool node and select plivo_verify > verify_otp:

  • session_id: {{send_otp.session_id}}
  • otp_code: {{question.otp_code}}

4. Add Conditional Branch

Add an IF/Else node:

  • Condition: {{verify_otp.verified}} equals true
  • If true: Continue to success path (e.g., create account)
  • If false: Show error message or retry

Variable Reference

VariableSourceDescription
{{send_otp.session_id}}send_otp outputSession UUID for verification
{{send_otp.phone_number}}send_otp outputThe phone number used
{{send_otp.channel}}send_otp outputChannel used (sms/voice)
{{verify_otp.verified}}verify_otp outputBoolean verification result
{{verify_otp.status}}verify_otp output"success" or "failed"

Use Cases

Account Registration

Verify phone numbers during user signup to prevent fake accounts.

Two-Factor Authentication (2FA)

Add an extra security layer by requiring OTP verification for sensitive actions.

Password Reset

Verify user identity before allowing password changes.

Transaction Confirmation

Confirm high-value transactions with OTP verification.

Advanced Configuration

Custom Verify Application

To customize OTP settings (brand name, code length, expiry time), create a Verify Application in the Plivo Console:

  1. Go to Verify > Applications
  2. Click Create Application
  3. Configure settings:
    • Brand Name: Displayed in SMS (e.g., "YourApp")
    • Code Length: 4-8 digits
    • Code Expiry: How long the code is valid
    • Retry Settings: Auto-retry configuration
  4. Copy the App UUID
  5. Use it in the app_uuid parameter of send_otp

Voice Channel

For users who can't receive SMS, use the voice channel:

channel: voice

The OTP code will be read aloud in a phone call.

Error Handling

ErrorCauseSolution
"Authentication failed"Invalid Auth ID or TokenCheck credentials in Plivo Console
"Invalid request parameters"Malformed phone numberUse E.164 format (+1234567890)
"OTP verification failed"Wrong code or expiredAsk user to re-enter or resend OTP

Pricing

Plivo Verify API charges per verification attempt. See Plivo Pricing for current rates.

Support

  • Plivo Verify Documentation
  • Plivo Support
  • Dify Documentation