The Mobi Developer Hub

Welcome to the Mobi developer hub. You'll find comprehensive guides and documentation to help you start working with Mobi as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Open Weather Map

Don't have an Instabot account yet?

1. Overview

Display realtime weather info for your users location directly in the bot using the OpenWeatherMap webhook.

The official OpenWeatherMap API documentation can be found here:

2. Use-cases and example bot


The OpenWeatherMap webhook can be useful for:

  • displaying the high/low temps for a specific city for the user

Example bot:

3. Requirements

To use this webhook, you will need the following:

4. How to set up

The following section provides specific instructions on how to use the OpenWeatherMap webhook.

For more details on webhooks syntax and how to use them seamlessly in your conversation, see the detailed webhooks reference guide

  1. Open the OpenWeatherMap webhook, replace the appid parameter with your OpenWeatherMap API key
  1. Open your bot, add a free-text node asking them what city they want the weather for. Name this node get-location, then save it.
    Add a simple-statement node, in the message prompt, use the [= syntax to display a list of webhook output parameters that you want to display to the user.
    Replace 'Value' in each webhook with the name of the node that the user enters their desired location - use the @ syntax.

The OpenWeatherMap webhook included in your account includes 4 preconfigured output parameters:

  • weather.description - Weather condition within the group
  • main.temp - Current temperature
  • main.temp_max - Maximum temperature at the moment
  • main.temp_min - Minimum temperature at the moment

In addition to the preconfigured output parameters, you can also add as many OpenWeatherMap output parameters to the webhook to use/display in your conversation as you like - see the OpenWeatherMap API documentation for details

  1. Save and publish your bot, and it should look something like this.

Updated 6 months ago

Open Weather Map

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.