forked from Shuffle/python-apps
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Shuffle:master' into master
- Loading branch information
Showing
5 changed files
with
221 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
app_version: 1.2.0 | ||
name: Shuffle Tools | ||
description: A tool app for Shuffle. Gives access to most missing features along with Liquid. | ||
description: A tool app for Shuffle. Gives access to most missing features along with Liquid. | ||
tags: | ||
- Testing | ||
- Shuffle | ||
|
@@ -35,6 +35,55 @@ actions: | |
example: print("hello world") | ||
schema: | ||
type: string | ||
|
||
- name: dedup_and_merge | ||
description: Merges data from multiple workflows within a set timeframe. Returns action as SKIPPED if the data is a duplicate. Returns with a list of all data if the data at the end | ||
parameters: | ||
- name: key | ||
description: The key to use for deduplication | ||
required: true | ||
multiline: false | ||
example: "ticketname+username" | ||
schema: | ||
type: string | ||
- name: value | ||
description: The full value of the item | ||
required: true | ||
multiline: true | ||
example: "1208301599081" | ||
schema: | ||
type: string | ||
- name: timeout | ||
description: The timeout before returning | ||
required: true | ||
options: | ||
- 2 | ||
- 3 | ||
- 4 | ||
- 5 | ||
- 6 | ||
- 7 | ||
- 8 | ||
- 9 | ||
- 10 | ||
- 15 | ||
- 20 | ||
- 25 | ||
multiline: false | ||
example: "1" | ||
schema: | ||
type: string | ||
- name: set_skipped | ||
description: Whether to set the action SKIPPED or not IF it matches another workflow in the same timeframe | ||
required: true | ||
options: | ||
- true | ||
- false | ||
multiline: false | ||
example: "true" | ||
schema: | ||
type: string | ||
|
||
- name: check_cache_contains | ||
description: Checks Shuffle cache whether a user-provided key contains a value. Returns ALL the values previously appended. | ||
parameters: | ||
|
@@ -135,47 +184,47 @@ actions: | |
returns: | ||
schema: | ||
type: string | ||
- name: send_email_shuffle | ||
description: Send an email from Shuffle | ||
parameters: | ||
- name: apikey | ||
description: Your https://shuffler.io organization apikey | ||
multiline: false | ||
example: "https://shuffler.io apikey" | ||
required: true | ||
schema: | ||
type: string | ||
- name: recipients | ||
description: The recipients of the email | ||
multiline: false | ||
example: "[email protected],[email protected]" | ||
required: true | ||
schema: | ||
type: string | ||
- name: subject | ||
description: The subject to use | ||
multiline: false | ||
example: "SOS this is an alert :o" | ||
required: true | ||
schema: | ||
type: string | ||
- name: body | ||
description: The body to add to the email | ||
multiline: true | ||
example: "This is an email alert from Shuffler.io :)" | ||
required: true | ||
schema: | ||
type: string | ||
- name: attachments | ||
description: The ID of files in Shuffle to add as attachments | ||
multiline: false | ||
example: "file_id1,file_id2,file_id3" | ||
required: false | ||
schema: | ||
type: string | ||
returns: | ||
schema: | ||
type: string | ||
#- name: send_email_shuffle | ||
# description: Send an email from Shuffle | ||
# parameters: | ||
# - name: apikey | ||
# description: Your https://shuffler.io organization apikey | ||
# multiline: false | ||
# example: "https://shuffler.io apikey" | ||
# required: true | ||
# schema: | ||
# type: string | ||
# - name: recipients | ||
# description: The recipients of the email | ||
# multiline: false | ||
# example: "[email protected],[email protected]" | ||
# required: true | ||
# schema: | ||
# type: string | ||
# - name: subject | ||
# description: The subject to use | ||
# multiline: false | ||
# example: "SOS this is an alert :o" | ||
# required: true | ||
# schema: | ||
# type: string | ||
# - name: body | ||
# description: The body to add to the email | ||
# multiline: true | ||
# example: "This is an email alert from Shuffler.io :)" | ||
# required: true | ||
# schema: | ||
# type: string | ||
# - name: attachments | ||
# description: The ID of files in Shuffle to add as attachments | ||
# multiline: false | ||
# example: "file_id1,file_id2,file_id3" | ||
# required: false | ||
# schema: | ||
# type: string | ||
# returns: | ||
# schema: | ||
# type: string | ||
- name: filter_list | ||
description: Takes a list and filters based on your data | ||
skip_multicheck: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters