← Fidel API + Helper Functions integrations

Convert JavaScript Object to JSON String with Helper Functions API on New Card Linked (Instant) from Fidel API API

Pipedream makes it easy to connect APIs for Helper Functions, Fidel API and 3,000+ other apps remarkably fast.

Trigger workflow on
New Card Linked (Instant) from the Fidel API API
Next, do this
Convert JavaScript Object to JSON String with the Helper Functions 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

This integration creates a workflow with a Fidel API trigger and Helper Functions action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Card Linked (Instant) trigger
    1. Connect your Fidel API account
    2. Select a Program ID
  3. Configure the Convert JavaScript Object to JSON String action
    1. Connect your Helper Functions account
    2. Configure object
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Emit new event each time a new card is linked to the Fidel API.
Version:0.0.1
Key:fidel_api-card-linked

Fidel API Overview

The Fidel API allows you to link credit and debit cards to specific offers or programs, track transactions in real-time, and receive event-driven data. It's a powerful tool for creating loyalty and reward programs, providing insights into customer spending patterns, and automating financial operations. With Pipedream, you can craft workflows that leverage Fidel API's capabilities to trigger actions, sync data, and connect with other apps for enhanced automation.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "fidel_api-card-linked",
  name: "New Card Linked (Instant)",
  description: "Emit new event each time a new card is linked to the Fidel API.",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getEvent() {
      return "card.linked";
    },
    getSummary(body) {
      return `New card linked: ${body.firstNumbers}****${body.lastNumbers}`;
    },
  },
  sampleEmit,
};

Trigger 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
Fidel APIfidelApiappThis component uses the Fidel API app.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Program IDprogramIdstringSelect a value from the drop down menu.

Trigger Authentication

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

To retrieve your API Key,

  • Navigate to your Fidel API account and sign in
  • Click the dropdown on the top left
  • Go to “Account settings” > “Plan” > “API Keys”

About Fidel API

Make money programmable: Fidel API enables developers to build transformative experiences on top of payment cards.

Action

Description:Accepts a JavaScript object, returns that object converted to a JSON string
Version:0.1.2
Key:helper_functions-convert-object-to-json-string

Helper Functions Overview

The Helper Functions app on Pipedream is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.

Action Code

// legacy_hash_id: a_a4i80O
import helper_functions from "../../helper_functions.app.mjs";

export default {
  key: "helper_functions-convert-object-to-json-string",
  name: "Convert JavaScript Object to JSON String",
  description: "Accepts a JavaScript object, returns that object converted to a JSON string",
  version: "0.1.2",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: true,
  },
  type: "action",
  props: {
    helper_functions,
    object: {
      type: "string",
      description: "The JavaScript object you'd like to convert to a JSON string",
    },
  },
  async run() {
    return JSON.stringify(this.object);
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Helper Functionshelper_functionsappThis component uses the Helper Functions app.
objectobjectstring

The JavaScript object you'd like to convert to a JSON string

Action Authentication

The Helper Functions API does not require authentication.

About Helper Functions

Helper functions and functional utilities to use within your Pipedream workflows

More Ways to Connect Helper Functions + Fidel API

Base64 Decode String with Helper Functions API on New Card Linked (Instant) from Fidel API API
Fidel API + Helper Functions
 
Try it
Convert HTML to Slack mrkdwn format with Helper Functions API on New Card Linked (Instant) from Fidel API API
Fidel API + Helper Functions
 
Try it
Delay by N milliseconds with Helper Functions API on New Card Linked (Instant) from Fidel API API
Fidel API + Helper Functions
 
Try it
Format ISO8601 Date/Time for Google Sheets with Helper Functions API on New Card Linked (Instant) from Fidel API API
Fidel API + Helper Functions
 
Try it
Country name, given code (2-letter) with Helper Functions API on New Card Linked (Instant) from Fidel API API
Fidel API + Helper Functions
 
Try it
New Card Linked (Instant) from the Fidel API API

Emit new event each time a new card is linked to the Fidel API.

 
Try it
New Transaction Completed (Instant) from the Fidel API API

Emit new event when a transaction is completed using a card linked to the Fidel API.

 
Try it
Create Program with the Fidel API API

Creates a new card-linked program in the Fidel API. See the documentation

 
Try it
Delete Card with the Fidel API API

Allows for the removal of a previously linked card from the Fidel API. See the documentation

 
Try it
Link Card with the Fidel API API

Links a new card to the Fidel API for monitoring transactions. See the documentation

 
Try it
Base64 Decode String with the Helper Functions API

Accepts a base64-encoded string, returns a decoded UTF-8 string

 
Try it
Compare Arrays with the Helper Functions API

Get the difference, intersection, union, or symetric difference of two arrays/sets.

 
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.