|
|
@@ -0,0 +1,61 @@
|
|
|
+{
|
|
|
+ "active": true,
|
|
|
+ "connections": [
|
|
|
+ {
|
|
|
+ "sourceNodeId": "n_form",
|
|
|
+ "sourceOutput": "main",
|
|
|
+ "targetInput": "data",
|
|
|
+ "targetNodeId": "n_process"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "name": "anime from upload",
|
|
|
+ "nodes": [
|
|
|
+ {
|
|
|
+ "config": {
|
|
|
+ "description": "Upload a picture. It goes through the same steps as one from the feed, and is published when it is done.",
|
|
|
+ "fields": [
|
|
|
+ {
|
|
|
+ "accept": "image/*",
|
|
|
+ "label": "Image",
|
|
|
+ "maxSizeMb": 16,
|
|
|
+ "name": "image",
|
|
|
+ "required": true,
|
|
|
+ "type": "file"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "password": "REDACTED-form-password",
|
|
|
+ "path": "",
|
|
|
+ "responseMessage": "Thanks - the image is being processed. The post appears on the blog in a few minutes.",
|
|
|
+ "responseMode": "immediate",
|
|
|
+ "title": "Turn a photo into an anime post"
|
|
|
+ },
|
|
|
+ "id": "n_form",
|
|
|
+ "name": "Form",
|
|
|
+ "position": {
|
|
|
+ "x": 0,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "type": "form-trigger"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "config": {
|
|
|
+ "fields": [
|
|
|
+ {
|
|
|
+ "name": "file",
|
|
|
+ "value": "{{$node['Form'].form.image}}"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "inputSource": "fields",
|
|
|
+ "workflowId": "wf_58ed4490-dad0-4ea3-9c89-7122339dadb9"
|
|
|
+ },
|
|
|
+ "id": "n_process",
|
|
|
+ "name": "Process Image",
|
|
|
+ "position": {
|
|
|
+ "x": 300,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "type": "call-workflow"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "settings": {}
|
|
|
+}
|