{"flow":{"id":"018BE041-CED0-4E39-BB5D-A335C437331A","name":"Certificate of Achievement Flow"},"flowVersion":{"id":"B619B4A8-A9B3-28A8-7F03-DA9B4708428A","description":null,"firstElementId":"CE3C9A79-0D52-20EE-13AD-37A86D087349","elements":[{"id":"B06890F8-75A8-F183-A8BA-87C8DCA8E7EB","name":"Generate Document","flowElementId":"1E9C8F88-8968-7DC8-3021-6F7851C11958","groupId":null,"type":"ACTION","nextElementIds":["B5B29EBF-44F8-43D8-A3B8-35381AC87F8A"],"nextGroupIds":[],"clientMetadata":{"notes":"Generate a document based on a template and a data set.","methodId":"CODELESS###DocuGenerate###DocuGenerate###Generate_Document","position":{"x":532.5376226826609,"y":79.41603053435115},"elementId":"CODELESS###DocuGenerate###DocuGenerate###Generate_Document","methodName":"Generate_Document","resultAlias":"Document","isFirstElement":false,"blockDefinitionId":"api-service-method"},"metaInfo":{"onFailElemId":null,"storeResult":true,"logging":{"input":{"logData":false,"message":null},"output":{"logData":false,"message":null}},"clientValidationState":{"valid":true,"errorMessage":null},"type":"BACKENDLESS","slaConditions":[],"enabled":true,"simulationResult":null,"subtype":"API_SERVICE","userSession":null,"serviceName":"DocuGenerate","modelName":"DocuGenerate","lang":"CODELESS","methodName":"Generate_Document","connectionId":null,"hostType":"APP","uriPlaceholderValues":[],"uriParams":[],"bodyParams":[{"type":"SIMPLE","name":"Template ID","value":{"mode":"EXPRESSION","expression":[{"id":"TEXT","label":null,"value":"<YOUR_TEMPLATE_ID>","type":"INPUT"}],"resultType":"STRING"}},{"type":"SIMPLE","name":"Name","value":{"mode":"EXPRESSION","expression":[{"id":"TEXT","label":null,"value":"Certificate for ","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Name","type":"TRIGGER_DATA"}],"resultType":"STRING"}},{"type":"SIMPLE","name":"Output Name","value":{"mode":"EXPRESSION","expression":[],"resultType":"STRING"}},{"type":"SIMPLE","name":"Output Format","value":{"mode":"EXPRESSION","expression":[{"id":"TEXT","label":null,"value":".pdf","type":"INPUT"}],"resultType":"STRING"}},{"type":"SIMPLE","name":"Data","value":{"mode":"EXPRESSION","expression":[{"id":"TEXT","label":null,"value":"[{","type":"INPUT"},{"id":"TEXT","label":null,"value":"\"Company Name\": \"","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Company Name","type":"TRIGGER_DATA"},{"id":"TEXT","label":null,"value":"\", \"Name\": \"","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Name","type":"TRIGGER_DATA"},{"id":"TEXT","label":null,"value":"\", \"Course Name\": \"","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Course Name","type":"TRIGGER_DATA"},{"id":"TEXT","label":null,"value":"\", \"Diploma Title\": \"","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Diploma Title","type":"TRIGGER_DATA"},{"id":"TEXT","label":null,"value":"\", \"Certificate Date\": \"","type":"INPUT"},{"id":"RESULT","label":"Participant","value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"Certificate Date","type":"TRIGGER_DATA"},{"id":"TEXT","label":null,"value":"\"","type":"INPUT"},{"id":"TEXT","label":null,"value":"}]","type":"INPUT"}],"resultType":"STRING"}}]},"serverFields":{"learningStatus":"OFF"}},{"id":"673C7D18-C428-4318-8C95-ED5820AD740C","name":"Save Record In Database","flowElementId":"26880C07-6808-7158-4163-5EE762B95C58","groupId":null,"type":"ACTION","nextElementIds":[],"nextGroupIds":[],"clientMetadata":{"tableId":"7F289976-5B17-4C40-A4D9-FB895B9C171E","position":{"x":1173.33065291614,"y":77.94477023721322},"elementId":"save-record","dataSource":"CE3C9A79-0D52-20EE-13AD-37A86D087349","resultAlias":"Record","operationType":"update_from_flow","isFirstElement":false,"blockDefinitionId":"save-record"},"metaInfo":{"onFailElemId":null,"storeResult":true,"logging":{"input":{"logData":false,"message":null},"output":{"logData":false,"message":null}},"clientValidationState":{"valid":true,"errorMessage":null},"type":"BACKENDLESS","slaConditions":[],"enabled":true,"simulationResult":null,"subtype":"GENERAL","userSession":null,"httpMethod":"PUT","responseType":"OBJECT","uriTemplate":"/data/Participants","uriParams":[],"bodyParams":[{"type":"SIMPLE","name":"objectId","value":{"mode":"EXPRESSION","expression":[{"id":"ELEMENT_RESULT","label":null,"value":"CE3C9A79-0D52-20EE-13AD-37A86D087349","subPath":"objectId","type":"ELEMENT_LINK"}],"resultType":null}},{"type":"SIMPLE","name":"Certificate URL","value":{"mode":"EXPRESSION","expression":[{"id":"ELEMENT_RESULT","label":"File","value":"B5B29EBF-44F8-43D8-A3B8-35381AC87F8A","subPath":"fileURL","type":"ELEMENT_LINK"}],"resultType":"STRING"}}],"uriPlaceholderValues":[]},"serverFields":{"learningStatus":"OFF"}},{"id":"B5B29EBF-44F8-43D8-A3B8-35381AC87F8A","name":"Add To File","flowElementId":"7B457178-2F12-4E88-0DCB-E138D7188CE8","groupId":null,"type":"ACTION","nextElementIds":["673C7D18-C428-4318-8C95-ED5820AD740C"],"nextGroupIds":[],"clientMetadata":{"notes":"Appends content to an existing file in the Backendless Files storage. It also can add content from a remote file by provided URL in the \"Content From URL\" field.","methodId":"JS###v1###BackendlessFileService###addToFile","position":{"x":849.9400218102509,"y":79},"elementId":"JS###v1###BackendlessFileService###addToFile","methodName":"addToFile","resultAlias":"File","isFirstElement":false,"blockDefinitionId":"api-service-method"},"metaInfo":{"onFailElemId":null,"storeResult":true,"logging":{"input":{"logData":false,"message":null},"output":{"logData":false,"message":null}},"clientValidationState":{"valid":true,"errorMessage":null},"type":"BACKENDLESS","slaConditions":[],"enabled":true,"simulationResult":null,"subtype":"API_SERVICE","userSession":null,"serviceName":"BackendlessFileService","modelName":"v1","lang":"JS","methodName":"addToFile","connectionId":null,"hostType":"SHARED","uriPlaceholderValues":[],"uriParams":[],"bodyParams":[{"type":"SIMPLE","name":"directoryPath","value":{"mode":"EXPRESSION","expression":[{"id":"TEXT","label":null,"value":"certificates","type":"INPUT"}],"resultType":"STRING"}},{"type":"SIMPLE","name":"fileName","value":{"mode":"EXPRESSION","expression":[{"id":"ELEMENT_RESULT","label":"Document","value":"B06890F8-75A8-F183-A8BA-87C8DCA8E7EB","subPath":"filename","type":"ELEMENT_LINK"}],"resultType":"STRING"}},{"type":"SIMPLE","name":"content","value":{"mode":"EXPRESSION","expression":[],"resultType":"STRING"}},{"type":"SIMPLE","name":"contentFromUrl","value":{"mode":"EXPRESSION","expression":[{"id":"ELEMENT_RESULT","label":"Document","value":"B06890F8-75A8-F183-A8BA-87C8DCA8E7EB","subPath":"document_uri","type":"ELEMENT_LINK"}],"resultType":"STRING"}}]},"serverFields":{"learningStatus":"OFF"}},{"id":"CE3C9A79-0D52-20EE-13AD-37A86D087349","name":"Record Created in Database","flowElementId":"DE3D50C6-7D88-3398-2318-90C2794C6183","groupId":null,"type":"TRIGGER","nextElementIds":["B06890F8-75A8-F183-A8BA-87C8DCA8E7EB"],"nextGroupIds":[],"clientMetadata":{"position":{"x":154.5,"y":79},"elementId":"record-created","resultAlias":"Participant","isFirstElement":true,"blockDefinitionId":"record-created"},"metaInfo":{"onFailElemId":null,"storeResult":true,"logging":{"input":{"logData":false,"message":null},"output":null},"clientValidationState":{"valid":true,"errorMessage":null},"type":"EVENT","condition":null,"authInfo":{"type":"NONE","requiredRoles":[],"onFailPolicy":"ERROR"},"slaConditions":[],"service":"DATA_SERVICE","operationId":1,"tableId":"7F289976-5B17-4C40-A4D9-FB895B9C171E","objectId":null},"serverFields":{"learningStatus":"OFF"}}],"groups":[],"clientMetadata":{"autoSave":true,"viewport":{"x":-451.1412703770775,"y":267.50196962562546,"zoom":0.9206996023229508},"descriptions":{"flow":"","initialData":{}}},"metaInfo":{"wasLive":true,"schedule":null,"errorMessage":null,"sharedMemory":{"anchor":{"type":"FLOW_MEMORY","path":null,"missingAnchorPolicy":"TERMINATE_ON_MEMORY_ACCESS"},"expirationInSec":null},"executionStaticData":[],"initialData":null,"ownerFlowVersionId":null,"configId":null}},"slaGoals":[],"slaCalendars":[],"subFlows":[],"elementsLearnedData":[],"exportDate":"2026-01-28T06:48:58.714Z"}