Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n8n-nodes-swan-io

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-swan-io

N8n node for Swan API

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Banner image

n8n-nodes-swan-io

mit licence npm version

Size Limit logo by Anton Lovchikov

This is an n8n community node. It lets you use Swan.io API in your n8n workflows.

Use Swan's APIs to embed white-labeled banking features like accounts, cards, and payments into your workflows and UX.

n8n is a fair-code licensed workflow automation platform.


InstallationCredentialsOperationsResources


Installation

Follow the installation guide in the n8n community nodes documentation.

You can also test and/or run it locally by using

$ yarn start
# --- or ---
$ npm start

Credentials

  • Swan User Access Token (OAuth2 - Authorization code)
  • Swan Project Access Token (OAuth2 - Client Credentials)

More information on the related section of the Swan.io documentation

How to

  1. First, from the Swan's dashboard, Tab Developers, get your client ID and your client Secret (section OAuth 2.0 Credentials)

Step 1

  1. Then, in n8n, add new credentials and select one of the Swan's credentials

Step 2

  1. Then fill the form with the Swan's credentials saved in the 1.

  2. Get back in the Swan's dashboard and add the n8n redirect URI in the Redirect URIs section

Step 3

  1. It's done, you can try to connect your n8n instance to Swan

Operations

Swan node

You will be able to request the Swan's GraphQL API

For convenience, some basic operation are available directly

  • Query - Account : Get an account by ID
  • Query - Transaction : Get a transaction by ID
  • Mutation - Update Account : Update account name by ID
  • Mutation - InitiateCreditTransfers : Initiate one (or several) Credit Transfer(s)
  • Mutation - GrantConsentWithServerSignature : Consent a sensitive operation, like InitiateCreditTransfers, through the server-to-server consent feature

But you should also be able to request anything via the Custom operation, by writing your own query/mutation

How to

  1. First, add a Swan node in your workflow

Step 1

  1. Now, you can choose the relevant operation in your context (already no-code ready, or by specifying your GraphQL query)

Step 2

  1. It's done, you can now using this node to interact with the Swan's API

SwanTrigger node

You will be able to receive all event dispatched by the Swan's webhook

How to

  1. First, add a SwanTrigger node in your workflow and copy the webhook generated URL

Step 1

  1. Then, go the the Swan's dashboard and add a new webhook with the n8n webhook url as target, and expected events.

Step 2

You can test the flow by sending test event from the dashboard

  1. Your webhook is now listed and enabled in the Dashboard

Step 3

  1. It's done, you can now receiving events from Swan in your n8n workflows

Resources



Built with ❤️ based on n8n-nodes-starter

Keywords

FAQs

Package last updated on 19 Jun 2024

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