{"id":28494043,"url":"https://github.com/mulesoft/data-weave-slack-library","last_synced_at":"2026-01-31T14:03:39.573Z","repository":{"id":42658199,"uuid":"336282126","full_name":"mulesoft/data-weave-slack-library","owner":"mulesoft","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-14T19:35:06.000Z","size":290,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":120,"default_branch":"master","last_synced_at":"2025-12-13T05:00:05.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"DataWeave","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mulesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-05T13:38:53.000Z","updated_at":"2024-11-14T19:35:10.000Z","dependencies_parsed_at":"2024-08-28T15:05:12.036Z","dependency_job_id":"43790033-0c30-4fe4-85d3-053df9177fc9","html_url":"https://github.com/mulesoft/data-weave-slack-library","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mulesoft/data-weave-slack-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mulesoft%2Fdata-weave-slack-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mulesoft%2Fdata-weave-slack-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mulesoft%2Fdata-weave-slack-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mulesoft%2Fdata-weave-slack-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mulesoft","download_url":"https://codeload.github.com/mulesoft/data-weave-slack-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mulesoft%2Fdata-weave-slack-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28944789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T13:02:32.153Z","status":"ssl_error","status_checked_at":"2026-01-31T13:00:07.528Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T09:38:05.495Z","updated_at":"2026-01-31T14:03:39.566Z","avatar_url":"https://github.com/mulesoft.png","language":"DataWeave","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataWeave Slack Library\n\n[![Development Branch](https://github.com/mulesoft/data-weave-slack-library/actions/workflows/master_workflow.yml/badge.svg?branch=master)](https://github.com/mulesoft/data-weave-slack-library/actions/workflows/master_workflow.yml)\n\nThis library provides constructs to simplify working with Slack blocks. Types can provide guidance and validation\nwhen you write complex block structures. Builder functions help keep code lean by eliminating all boilerplate code.\n\nConsider [this][1] 59 line block kit JSON.\n\nWith the DataWeave Slack library, you can generate the same message with this simple script, and easily refactor the script into a dynamic one when needed:\n\n```dataweave\n%dw 2.0\nimport * from slack::Builders\noutput application/json\nvar calendar = image(\"https://api.slack.com/img/blocks/bkb_template_images/notifications.png\", \"calendar\")\n---\nblocks([\n    section(text(\"Your next meeting is coming up:\")),\n    divider(),\n    section(\"*Iris / Zelda 1-1*\\nTuesday, January 21 4:00-4:30pm\\nBuilding 2 - Havarti Cheese (3)\", calendar),\n    context([\n        image(\"https://api.slack.com/img/blocks/bkb_template_images/notificationsWarningIcon.png\", \"warning icon\"),\n        mrkdwn(\"Will change status to *busy*\")\n    ]),\n    divider(),\n    actions([button(\"Cancel\", \"cancel-meeting\") withStyle \"danger\"])\n])\n```\n\n## Contributions Welcome\n\nContributions to this project can be made through Pull Requests and Issues on the\n[GitHub Repository](https://github.com/mulesoft/data-weave-slack-library).\n\nBefore creating a pull request review the following:\n\n* [LICENSE](https://github.com/mulesoft/data-weave-slack-library/blob/master/LICENSE.txt)\n* [SECURITY](https://github.com/mulesoft/data-weave-slack-library/blob/master/SECURITY.md)\n* [CODE_OF_CONDUCT](https://github.com/mulesoft/data-weave-slack-library/blob/master/CODE_OF_CONDUCT.md)\n\nWhen you submit your pull request, you are asked to sign a contributor license agreement (CLA) if we don't have one on file for you.\n\n[1]: https://app.slack.com/block-kit-builder/TLK2W2W10#%7B%22blocks%22:%5B%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Your%20next%20meeting%20is%20coming%20up:%22,%22emoji%22:true%7D%7D,%7B%22type%22:%22divider%22%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22*Iris%20/%20Zelda%201-1*%5CnTuesday,%20January%2021%204:00-4:30pm%5CnBuilding%202%20-%20Havarti%20Cheese%20%283%29%22%7D,%22accessory%22:%7B%22type%22:%22image%22,%22image_url%22:%22https://api.slack.com/img/blocks/bkb_template_images/notifications.png%22,%22alt_text%22:%22calendar%22%7D%7D,%7B%22type%22:%22context%22,%22elements%22:%5B%7B%22type%22:%22image%22,%22image_url%22:%22https://api.slack.com/img/blocks/bkb_template_images/notificationsWarningIcon.png%22,%22alt_text%22:%22warning%20icon%22%7D,%7B%22type%22:%22mrkdwn%22,%22text%22:%22Will%20change%20status%20to%20*busy*%22%7D%5D%7D,%7B%22type%22:%22divider%22%7D,%7B%22type%22:%22actions%22,%22elements%22:%5B%7B%22type%22:%22button%22,%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Cancel%22,%22emoji%22:true%7D,%22action_id%22:%22cancel-meeting%22,%22style%22:%22danger%22%7D%5D%7D%5D%7D","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulesoft%2Fdata-weave-slack-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmulesoft%2Fdata-weave-slack-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulesoft%2Fdata-weave-slack-library/lists"}