← LaunchDarkly

Toggle Feature Flag with LaunchDarkly API

Pipedream makes it easy to connect APIs for LaunchDarkly and 3,000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Toggle Feature Flag with the LaunchDarkly API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

Create a workflow to Toggle Feature Flag with the LaunchDarkly API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Toggle Feature Flag action
    1. Connect your LaunchDarkly account
    2. Select a Project Key
    3. Select a Environment Key
    4. Select a Feature Flag Key
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Toggle Feature Flag with LaunchDarkly API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Submission from Typeform API
Typeform + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Submission (Instant) from Jotform API
Jotform + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Scheduled Tasks from Pipedream API
Pipedream + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Download Counts from npm API
npm + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Activity Created Event from Strava API
Strava + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Account Created from Zoom Admin API
Zoom Admin + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New or Removed Documents in a Collection from Fauna API
Fauna + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New or changed appointments from SuperSaaS API
SuperSaaS + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Deploy Failure (Instant) from Netlify API
Netlify + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Form Submission (Instant) from Formstack API
Formstack + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Stories for a Tag from Dev.to API
Dev.to + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Weather for ZIP Code from HERE API
HERE + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Cancelled Event from Google Calendar API
Google Calendar + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Comments by Keyword from Hacker News API
Hacker News + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Account Created from Apollo.io API
Apollo.io + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Agency Listing Updated from Domain Group API
Domain Group + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Appointment Cancelled from TidyCal API
TidyCal + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Asset Uploaded from Shotstack API
Shotstack + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Assignment Done from Google Classroom API
Google Classroom + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Balance Updated from Mocean API API
Mocean API + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on BigQuery - New Row from Google Cloud API
Google Cloud + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Bill State Updated (Instant) from Clio - Australia API
Clio - Australia + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Bill State Updated (Instant) from Clio - Canada API
Clio - Canada + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Bill State Updated (Instant) from Clio - EU API
Clio - EU + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Bill State Updated (Instant) from Clio - US API
Clio - US + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Blob Deleted from Azure Storage API
Azure Storage + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Booking Cancelled from Cal.com API
Cal.com + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Booking Contact Updated from Slottable API
Slottable + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Box Changed Pipeline (Instant) from Streak API
Streak + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Budget Snapshot Event (Instant) from Procore API
Procore + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Call Ended (Instant) from Rinkel API
Rinkel + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Cancelled Booking with Customer from Appointedd API
Appointedd + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Candidate Created (Instant) from Recruit CRM API
Recruit CRM + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Card Archived (Instant) from Trello API
Trello + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Card Created (Instant) from Pipefy API
Pipefy + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Catalog Item Updated from Square API
Square + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Category Overspent from You Need a Budget API
You Need a Budget + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Changed Task Status from Yanado API
Yanado + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Chat Ended (Instant) from tawk.to API
tawk.to + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Chat Status Updated from HelpCrunch API
HelpCrunch + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Client Updated from Paymo API
Paymo + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Client Updated from RiskAdvisor API
RiskAdvisor + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Collection Item Updated from Webflow (v2) API
Webflow (v2) - do not use + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Company Change (Instant) from Cloze API
Cloze + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Completed Document (Instant) from signNow API
signNow + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Contact Activated from Vision6 API
Vision6 + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Contact Created from Mailjet API
Mailjet + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Contact Deleted (Instant) from SmashSend API
SmashSend + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Contact Status Updated from Ambivo API
Ambivo + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Contact Updated from ProWorkflow API
ProWorkflow + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Custom Events (Instant) from Zoom API
Zoom + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Card Expired (Instant) from Chargebee API
Chargebee + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Created (Instant) from Customer Fields API
Customer Fields + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Created from Plain API
Plain + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Updated (Instant) from Lightspeed eCom (C-Series) API
Lightspeed eCom (C-Series) + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Updated (Instant) from Loyverse API
Loyverse + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Customer Updated (Instant) from Orderspace API
Orderspace + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Daily schedule from Schedule API
Schedule + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Dataset Refresh Completed from Microsoft Power BI API
Microsoft Power BI + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Deleted Blog Posts from HubSpot API
HubSpot + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Deleted Issue (Instant) from Taiga API
Taiga + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Deleted Record from Insightly API
Insightly + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Document Completed from Crove API
Crove + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Document Creation Failed (Instant) from PandaDoc API
PandaDoc + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Document Export Failed from Cloudpress API
Cloudpress + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Document Sent (Instant) from Signaturely API
Signaturely + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Donation Refunded from Raisely API
Raisely + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Edit Event (Instant) from WaiverFile API
WaiverFile + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Entitlement Threshold Reached (Instant) from Paigo API
Paigo + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Event Created from Team Up API
Team Up + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Event Start from Teamup API
Teamup + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Event Updated (Instant) from Add to Calendar PRO API
Add to Calendar PRO + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Exchange Rate Updated from CurrencyScoop API
CurrencyScoop + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Expense Created from Splitwise API
Splitwise + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Expense Report Approved from Zoho Expense API
Zoho Expense + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Experience Updated (Instant) from Xola API
Xola + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Failed Monitor from Drata API
Drata + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on File Deleted from DigitalOcean Spaces API
DigitalOcean Spaces + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Form Created from 123FormBuilder API
123FormBuilder + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Import Needs Review from Dromo API
Dromo + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Incident Updated (Instant) from Statuspage API
Statuspage + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Inventory Object Updated from Booking Experts API
Booking Experts + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Inventory Updated from Lightspeed Retail POS API
Lightspeed Retail POS + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Inventory Updated from Sellercloud API
Sellercloud + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Issue Created from PractiTest API
PractiTest + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Issued Credential from Accredible API
Accredible + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Item Position Changed from Miro Developer App API
Miro Developer App + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Job Failed (Instant) from Cloud Convert API
Cloud Convert + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Job Run Completed (Instant) from dbt Cloud API
dbt Cloud + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Label Updated (Instant) from Loop Returns API
Loop Returns + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Lead Details Updated from CINC API
CINC + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Listing Updated from Etsy API
Etsy + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Member Created from Patreon API
Patreon + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on Message Deleted (Instant) from Discord API
Discord + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New 2Captcha Balance Updated from twocaptcha API
2Captcha + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Abandoned Cart from Shopify API
Shopify + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Abandoned Cart from Stripe API
Stripe + LaunchDarkly
 
Try it
Toggle Feature Flag with LaunchDarkly API on New Access Token Event from LaunchDarkly (OAuth) API
LaunchDarkly (OAuth) + LaunchDarkly
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Toggle Feature Flag on LaunchDarkly
Description:Toggles the status of a feature flag, switching it from active to inactive, or vice versa. [See the documentation](https://apidocs.launchdarkly.com/tag/Feature-flags#operation/patchFeatureFlag)
Version:0.0.3
Key:launchdarkly-toggle-feature-flag

Code

import app from "../../launchdarkly.app.mjs"; export default { key: "launchdarkly-toggle-feature-flag", name: "Toggle Feature Flag", description: "Toggles the status of a feature flag, switching it from active to inactive, or vice versa. [See the documentation](https://apidocs.launchdarkly.com/tag/Feature-flags#operation/patchFeatureFlag)", version: "0.0.3", annotations: { destructiveHint: false, openWorldHint: true, readOnlyHint: false, }, type: "action", props: { app, projectKey: { propDefinition: [ app, "project", ], }, environmentKey: { propDefinition: [ app, "environment", ({ projectKey }) => ({ projectKey, }), ], }, featureFlagKey: { propDefinition: [ app, "flag", ({ projectKey, environmentKey, }) => ({ projectKey, environmentKey, }), ], }, }, async run({ $ }) { const { app, projectKey, environmentKey, featureFlagKey, } = this; const { environments: { [environmentKey]: { on: isOn } } } = await app.getFeatureFlag({ $, projectKey, featureFlagKey, }); const response = await app.updateFeatureFlag({ $, projectKey, featureFlagKey, headers: { "Content-Type": "application/json; domain-model=launchdarkly.semanticpatch", }, data: { environmentKey, instructions: [ { kind: isOn ? "turnFlagOff" : "turnFlagOn", }, ], }, }); $.export("$summary", "Successfully toggled the feature flag."); return response; }, }; 

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
LaunchDarklyappappThis component uses the LaunchDarkly app.
Project KeyprojectKeystringSelect a value from the drop down menu.
Environment KeyenvironmentKeystringSelect a value from the drop down menu.
Feature Flag KeyfeatureFlagKeystringSelect a value from the drop down menu.

Authentication

LaunchDarkly uses API keys for authentication. When you connect your LaunchDarkly account, Pipedream securely stores the keys so you can easily authenticate to LaunchDarkly APIs in both code and no-code steps.

Create an access token for LaunchDarkly's REST API at https://app.launchdarkly.com/settings/authorization

About LaunchDarkly

Fast and reliable feature management for the modern enterprise.

More Ways to Use LaunchDarkly

Triggers

New Access Token Event from the LaunchDarkly API

Emit new event when a new access token activity happens. See the documentation

 
Try it
New Flag Event from the LaunchDarkly API

Emit new event when flag activity occurs. See the documentation

 
Try it
New User Event from the LaunchDarkly API

Emit new event when user activity is noted. See the documentation

 
Try it

Actions

Evaluate Feature Flag with the LaunchDarkly API

Evaluates an existing feature flag for a specific user or in a general context. See the documentation

 
Try it
Get Feature Flag with the LaunchDarkly API

Get a feature flag by key. See the documentation

 
Try it
Get Feature Flag Status with the LaunchDarkly API

Get the status of a feature flag. See the documentation

 
Try it
Get Project with the LaunchDarkly API

Get a project by key. See the documentation

 
Try it
List Environments with the LaunchDarkly API

List all environments. See the documentation

 
Try it
List Feature Flags with the LaunchDarkly API

List all feature flags. See the documentation

 
Try it
List Members with the LaunchDarkly API

List all members in an account. See the documentation

 
Try it
List Projects with the LaunchDarkly API

List all projects. See the documentation

 
Try it
Update Feature Flag with the LaunchDarkly API

Updates an existing feature flag using a JSON object. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
3,000+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Premium
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Premium
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Premium
Klaviyo unifies your data, channels, and AI agents in one platform—text, WhatsApp, email marketing, and more—driving growth with every interaction.
Zendesk
Zendesk
Premium
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
Premium
Beta
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.