No-Code & Visual Platforms Integration
Human-in-the-Loop Node Authorization for Dify.AI Apps
Secure Dify workflow custom tool nodes with hosted Permitly consent screens.
Integration Code Example (JAVASCRIPT)
// Dify.AI Custom Tool Script
const { Permitly } = require('permitly');
const permitly = new Permitly({ apiKey: env.PERMITLY_KEY });
const result = await permitly.requestConsent({
scope: 'dify.workflow.execute',
userId: inputs.user_id
});
return { consent_url: result.url };
Execution Sequence Flow
sequenceDiagram
participant Dify as 🔷 Dify Workflow
participant Gate as 🛡️ Permitly Node
participant User as 👤 User
Dify->>Gate: 1. Trigger Custom Tool Node
Gate->>User: 2. Redirect to Consent URL
User-->>Gate: 3. Approve Request
Gate-->>Dify: 4. Return Output
High-ROI Security Gate
Protecting your Dify.AI Platform pipeline against unauthorized actions delivers an immediate compliance audit trail with zero infrastructure overhead.
Frequently Asked Questions
How to use Permitly with Dify.AI?
Add a Permitly custom tool node inside Dify workflow graphs to enforce sign-off before downstream execution.