Skip to content
This repository was archived by the owner on Aug 24, 2023. It is now read-only.
This repository was archived by the owner on Aug 24, 2023. It is now read-only.

Delayed responses to Slack Slash commands #3

Description

@alabeduarte

Just found a solution provided by claudia.js that can handle the issue of getting timeout response for some requests:

Slack limits the time to the first slash command response to 3 seconds, which is a problem for longer tasks. If your command needs to talk to external resources that might get blocked, or genuinely need more time to complete, implementing everything in a single response won’t work.

Claudia Bot Builder, since version 1.4.0, offers a simple solution for delayed responses. This tutorial demonstrates how to work around the timing issues by using two important Claudia.js features:

  • Enabling recursive Lambda calls
  • Intercepting and modifying requests in API Builder

More info here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions