📦
Services
A brief guide on how to access the available services and their actions.
Developer account with 6 Services already installed

Overview

Services are ready-to-deploy Kubernetes pods that contain pre-written actions for popular databases and apps, like MongoDB or Stripe. Services are elastic and are completely independent of each other, which means they autonomously scale with your call volume. That way, when you're architecting your backend and building your logic, you can comfortably route millions of calls to any service without worrying about disrupting others.

Installing and removing Services

To manage your Services, head to the Microservices tab of the Buildable dashboard. From there, you can easily create, update, remove or manipulate any of the available Services in seconds.
Installing a MongoDB Service

Using Installed Services in Flows

Once you've installed a Service, it will be made available to you in the canvas when you're constructing your Flows. To use a previously installed Service, simply add a Node and select the Service you're looking to use.
Using the newly installed MongoDB Service as a Node
For detailed instruction on how to Add Nodes in a Flow, see our guide:

Using call.service within a Node

When writing code in the editor, the call function will be your best friend. Using this, you're instantly able to plug into and use hundreds of Services around the world.
call.service parameters
The call.service function takes 4 parameters. Let's go over them:
Parameter Name
Description
Service Slug
This is the unique slug for your installed Service.
Relation
The relation represents the resource that encapsulates actions. In Data Storage Services such as MongoDB, the relation represents a MongoDB collection. In an Integration Service such as Twilio, a relation could be sms, which contains child actions such as send.message.
Action
Actions are any of the available actions under their parent relation.
Action Payload
The action payload is the final parameter that call.service accepts and is the payload that the action you've set requires. Action parameters also have descriptions provided in the AutoComplete suggestions so you never have to leave the code editor to read any documentation.
Buildable's Dynamic Typing feature allows you to get dropdown suggestions for each of the above arguments. Invoke this by pressing CTRL + SPACE.
Last modified 1mo ago