New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flowifier/flowifier-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flowifier/flowifier-client

Flowifier JavaScript Client Library

  • 0.9.1
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Flowifier Client Library for JavaScript

This library gives you a seemless integration of the Flowifier application.

Table of Contents

It allows you to:

  • List all workflows for a specific organisation
  • Retrieving the workflow details of a specific workflow
  • Executing a workflow by creating a workflow instance
  • Retrieving the workflow instance status
  • Retrieving the workflow instance result if successful finished

Usage

Retrieving all workflows

This example shows you how to list all workflows for your organization.

const organizationId = '<YOUR-ORGANIZATION-ID>';
const organizationToken = '<YOUR-ORGANIZATION-ACCESS-TOKEN>';

const flowifier = new Flowifier(organizationId, organizationToken);

var workflows = await flowifier.getWorkflows();
console.log(workflows);

This example shows you how to list execute a workflow.

const organizationId = '<YOUR-ORGANIZATION-ID>';
const organizationToken = '<YOUR-ORGANIZATION-ACCESS-TOKEN>';
const workflowId = '<YOUR-WORKFLOW-ID>';

const flowifier = new Flowifier(organizationId, organizationToken);

const context = {
    name: 'John Doe',
    age: 31
}

var workflowInstanceId = await flowifier.executeWorkflow(workflowId, context);
console.log('Workflow Instance Id:'workflowInstanceId);

Installation

npm install bson

Keywords

FAQs

Package last updated on 17 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc