| Developers Guide

| Developers Guide

  • Docs
  • API
  • Help
  • Blog

›Tutorials

Notes on Versions Released

  • Migrating & Updating
  • Updating to New Releases

Getting Started

  • Introduction
  • Installation
  • Quick Start

Main Concepts

  • Overview
  • Glossary
  • CMS
  • Dialog Engine
  • Actions & Hooks
  • Memory
  • Modules
  • NLU
  • Emulator

Advanced Guides

  • Debug
  • Configuration
  • Authentication Methods
  • Custom Module
  • Performances
  • Hosting
  • Version Control
  • Development Pipelines
  • Clustering

Channels

  • Website Embedding
  • Facebook Messenger
  • Telegram
  • Microsoft Teams
  • Converse API
  • Slack
  • Smooch (Sunshine Conversations)
  • FAQ

Tutorials

  • Deploying a cluster on Digital Ocean
  • How to act on an intent
  • Acting Proactively
  • Using Carousel Postback
  • How to use Slot Skill
  • How to use Call API Skill
  • Calling an API in a Custom Action
  • Shortlinks
  • Connecting your bot with your existing backend
  • Supported databases
  • Timeouts
  • Human in the loop
  • Jump To
  • Inter-bot Communication / Delegation
  • Contextual FAQ
  • Authenticate a user against a 3rd Party OAuth
  • Listening for file changes
  • Using a 3rd party NLU
  • Using the UiPath integration for Botpress

Pro Edition

  • About
  • Licensing
  • Configuring RBAC
  • Monitoring & Alerting
  • Bot Pipelines
  • Internationalization

How to use Call API Skill

Overview

The Call API skill is meant to help the users to easily call an API within their flow.

From Flow Editor

Request Options

Body

The request body can be set here.

Main View

Headers

The request headers can be set here and should respect the JSON format.

Headers

Response

Memory

To save the response, we use Memory. By default the response will be saved in temp.response, but you can use the memory of your choice.

Memory

The saved response object should look like this:

{
  "body": <Response Body>,
  "status": 200
}

Success / Failure

When a response return a status code 400 and above, the request will result in a failure and will execute the On failure transition. All other status codes will result in a success and will execute the On success transition.

Templating

Templating is supported in the body and the headers to get access to your variables stored in Memory. All bot, user, session, temp, event are accessible via templating.

Template

← How to use Slot SkillCalling an API in a Custom Action →
  • Overview
  • Request Options
    • Body
    • Headers
  • Response
    • Memory
    • Success / Failure
  • Templating
| Developers Guide
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2021 Botpress Inc.