I dont understand how to make it. I see the output in the wat approval piece is not the same but i dont know how to branch.
Could you help me with this test flow I created
{
"id": "M8UpqHzUzOGgfgDOB5xTq",
"created": "1696246470409",
"updated": "1696246470409",
"name": "Create Approval Links",
"description": "",
"tags": [],
"pieces": [
"@activepieces/piece-schedule",
"@activepieces/piece-approval",
"@activepieces/piece-tags"
],
"blogUrl": "",
"template": {
"displayName": "Create Approval Links",
"trigger": {
"name": "trigger",
"valid": true,
"displayName": "Every Hour",
"nextAction": {
"name": "step_1",
"type": "PIECE",
"valid": true,
"settings": {
"input": {},
"pieceName": "@activepieces/piece-approval",
"actionName": "create_approval_links",
"inputUiInfo": {},
"pieceVersion": "~0.1.0"
},
"nextAction": {
"name": "step_3",
"type": "PIECE",
"valid": true,
"settings": {
"input": {},
"pieceName": "@activepieces/piece-approval",
"actionName": "wait_for_approval",
"inputUiInfo": {},
"pieceVersion": "~0.1.0"
},
"nextAction": {
"name": "step_2",
"type": "BRANCH",
"valid": true,
"settings": {
"conditions": [
[
{
"operator": "BOOLEAN_IS_TRUE",
"firstValue": "{{step_3}}"
}
]
],
"inputUiInfo": {}
},
"displayName": "Branch",
"onFailureAction": {
"name": "step_5",
"type": "PIECE",
"valid": true,
"settings": {
"input": {
"name": "no"
},
"pieceName": "@activepieces/piece-tags",
"actionName": "add_tag",
"inputUiInfo": {},
"pieceVersion": "~0.0.1"
},
"displayName": "Add Tag"
},
"onSuccessAction": {
"name": "step_4",
"type": "PIECE",
"valid": true,
"settings": {
"input": {
"name": "yes"
},
"pieceName": "@activepieces/piece-tags",
"actionName": "add_tag",
"inputUiInfo": {},
"pieceVersion": "~0.0.1"
},
"displayName": "Add Tag"
}
},
"displayName": "Wait for Approval"
},
"displayName": "Create Approval Links"
},
"type": "PIECE_TRIGGER",
"settings": {
"pieceName": "@activepieces/piece-schedule",
"pieceVersion": "~0.1.1",
"triggerName": "every_hour",
"input": {
"run_on_weekends": false
},
"inputUiInfo": {}
}
},
"valid": true
},
"userId": null,
"imageUrl": null,
"featuredDescription": "",
"isFeatured": false
}