Skip to content

slack actions live #1856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions scripts/catalog_papi.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,15 @@ const updateDestinations = async () => {
destinations.forEach(destination => {
let slug = slugify(destination.name)

if (slug == 'amplitude-actions') {
slug = 'actions-amplitude'
// Flip the slug of Actions destinations
const actionsDests = [
'amplitude-actions',
'slack-actions'
]

if (actionsDests.includes(slug)) {
const newSlug = slug.split('-')
slug = newSlug[1]+'-'+newSlug[0]
}

let url = `connections/destinations/catalog/${slug}`
Expand Down
99 changes: 50 additions & 49 deletions src/_data/catalog/destinations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,55 +173,6 @@ items:
types in the settings page of the A/B Smartly web console.
required: true
label: Unit Mapping
- display_name: Actions Slack
name: Actions Slack
slug: actions-slack
hidden: true
url: connections/destinations/catalog/actions-slack
previous_names:
- Actions Slack
website: 'https://slack.com'
status: PUBLIC_BETA
categories: []
logo:
url: 'https://cdn.filepicker.io/api/file/MOBcngiSCGx8u10x6Kh3'
mark:
url: 'https://cdn.filepicker.io/api/file/Bk6jzITDTp26X3K3t0RL'
methods:
track: true
identify: true
group: true
alias: true
page: true
platforms:
browser: true
mobile: false
server: true
components: []
browserUnbundlingSupported: false
browserUnbundlingPublic: false
replay: false
connection_modes:
device:
web: false
mobile: false
server: false
cloud:
web: false
mobile: false
server: false
summary: No connection mode information available.
cmode_type: none
case: '0'
settings:
- name: required_hidden_token
type: string
defaultValue: ''
description: >-
This token is hidden because it is unused and destinations must have one
setting.
required: true
label: Required Hidden Token
- display_name: ActiveCampaign
name: ActiveCampaign
slug: activecampaign
Expand Down Expand Up @@ -21227,6 +21178,56 @@ items:
you want catch and forward to Slack.
required: true
label: Whitelisted Traits
- display_name: Slack (Actions)
name: Slack (Actions)
slug: actions-slack
hidden: false
url: connections/destinations/catalog/actions-slack
previous_names:
- Actions Slack
- Slack (Actions)
website: 'https://slack.com'
status: PUBLIC_BETA
categories: []
logo:
url: 'https://cdn.filepicker.io/api/file/MOBcngiSCGx8u10x6Kh3'
mark:
url: 'https://cdn.filepicker.io/api/file/Bk6jzITDTp26X3K3t0RL'
methods:
track: true
identify: true
group: true
alias: true
page: true
platforms:
browser: true
mobile: false
server: true
components: []
browserUnbundlingSupported: false
browserUnbundlingPublic: false
replay: false
connection_modes:
device:
web: false
mobile: false
server: false
cloud:
web: false
mobile: false
server: false
summary: No connection mode information available.
cmode_type: none
case: '0'
settings:
- name: required_hidden_token
type: string
defaultValue: ''
description: >-
This token is hidden because it is unused and destinations must have one
setting.
required: true
label: Required Hidden Token
- display_name: SlicingDice
name: SlicingDice
slug: slicingdice
Expand Down