Build a Slack Slash Command - in less than 10 minutes

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 10

  • @TatteredRungs
    @TatteredRungs 2 роки тому +5

    Can you explain more about how you established the request URL? Like step-by-step? Every slack app creation video I've seen glosses over how they created the request URL portion

    • @pipedreamhq
      @pipedreamhq  2 роки тому

      Hi Andrew - sorry, these examples are intended to be 10 minutes or less and sometimes we take it a bit fast.
      You can watch this video for an explaination on Triggers, and near the 2 minute mark I show you how to create an HTTP endpoint trigger:
      ua-cam.com/video/Jjq-ZoYZQoQ/v-deo.html
      Long story short, if you create a new workflow with the HTTP/Webhook trigger, a unique URL is generated specifically for your workflow to trigger it from Slack, Stripe, WordPress ,or any service that sends webhooks.

  • @ethanwaldo6493
    @ethanwaldo6493 2 роки тому +1

    Could you possibly make a video on the best way to build to use slack block kit with Airtable? The goal would be to use the slack block kit interactivity events to update records in Airtable. Basically rather than generating an Airtable form to track approval information we could allow our employees to only use slack and not have to open another tool. Thanks.

    • @pipedreamhq
      @pipedreamhq  2 роки тому +1

      Great idea! Yes adding interactivity with selects, inputs and buttons makes a lot of sense for a follow up video. Stay tuned for an update.

  • @shubhamshekhar1995
    @shubhamshekhar1995 Рік тому +1

    Hi can you tell me how to create a slash command in socket mode?

  • @romansviastyn
    @romansviastyn 7 місяців тому

    Hi there!
    How to deal with timeout of 3 sec? My AWS Lambda is working for 8 seconds, and after gathering all results I am getting `/command failed with the error "operation_timeout"`

    • @pipedreamhq
      @pipedreamhq  7 місяців тому

      Hi @romansviastyn
      You can configure the HTTP trigger to return a response immediately.
      pipedream.com/docs/workflows/triggers#http-responses
      Then that way your workflow can continue to process in the background, and even send a message using the callback URL included in the initial slash command request.

    • @romansviastyn
      @romansviastyn 7 місяців тому

      @@pipedreamhq I did, but anyway after completing my lambda there is return what causes operation_timeout error despite It has posted message into the channel already at the beginning of the lambda function

  • @AlineRodrigues-mj8os
    @AlineRodrigues-mj8os 7 місяців тому

    I want to create a slash command to retrieve little pre-set information.. do I still need to create an external API for that?

    • @pipedreamhq
      @pipedreamhq  7 місяців тому

      Good question. Just depends on the source of this data you'll be returning from the slash command.
      If the data is stored on another service, you'll need to use an API call to retrieve that data.