slackapi / deno-slack-hub Goto Github PK
View Code? Open in Web Editor NEWConnectors used to build coded workflows for Run on Slack apps using Deno
Home Page: https://deno.land/x/deno_slack_hub
License: MIT License
Connectors used to build coded workflows for Run on Slack apps using Deno
Home Page: https://deno.land/x/deno_slack_hub
License: MIT License
Hi,
I'm trying to use these connectors to quickly integrate a Slack app with some apis, however I'm getting the following error:
๐ซ The provided manifest file does not validate against schema. Consult the additional errors field to locate specific issues (invalid_manifest)
Error Details:
1: Workflow function `knal_input_workflow` step `3` is referring to an unknown function `A04U5QUE5EX#/functions/get_random_gif` (undefined_wf_function_step)
Source: /workflows/knal_input_workflow/steps/3
I followed the setup steps in the README, is there another step I still need to do to import this function into my code as well?
Update: this only happens when I try to test the code locally using the cli slack run
, if I deploy the app it works fine. So presumably I need to make this function known to my local environment somehow?
While integrating a JiraCloud connector into my Deno workflow, I'm missing how to pass custom field values to both create_issue and edit_issue connector functions.
If I use the same connector functions in a workflow builder, I can see an "additional inputs" section in the form.
Let me know if more detail is needed.
Hi there,
This is a question about the expected format for email_body
in the above-mentioned connector.
I'm adding https://api.slack.com/reference/connectors/google.mail/send_email to a workflow on Slack's next-gen platform. The documentation shows email_body
as a rich_text input.
The code sample below generates an email body that resembles a stringified JSON output:
sampleWorkflow
.addStep(Connectors.GoogleMail.functions.SendEmail, {
google_access_token: {
credential_source: "END_USER",
},
recipients: ["[email protected]"],
subject: "Hi there",
email_body: "Test",
})
The generated email body from Gmail:
[{"text":{"text":"Test","type":"mrkdwn","verbatim":false},"type":"section","block_id":"oltZm"}]
Surprisingly, if I use the same connector function in Workflow Builder, the email_body
comes from a rich text form field, the formatting works as expected.
In the deno-slack-sdk we have added an integration test that validates the behavior of the generation script.
This is the test in question
It would be nice to add this capability here as well.
Currently the GitHub Actions hard codes the deno-version
value, Ideally we want the the deno-version
value to be sourced dynamically from https://api.slack.com/slackcli/metadata.json ๐
It is possible to set environment variable in a step this could be a potential solution to fetch, parse and set the deno-version
Context: #5 this comment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.