---
title: Call Flow on AFTER Actionable
description: "When you want to take an action after the document is generated, this action can be executed from an Autolaunched Flow. Create an Actionable in PDF Butler of recordType \"Run Lightning Flow\", pass on the API name of your Flow…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-salesforce-automation/call-flow-on-after-actionable/"
updated: "2024-08-16"
category: PDF BUTLER SALESFORCE AUTOMATION
---

# Call Flow on AFTER Actionable

When you want to take an action after the document is generated, this action can be executed from an Autolaunched Flow.

Create an Actionable in PDF Butler of recordType "Run Lightning Flow", pass on the API name of your Flow and the class: "cadmus_core.Actionable_RunAfterFlow"

Flow input variables:

- **info**: type "AfterActionableFlow_Info" => to get the docConfigId, recordId, packId, alternativeName and locale
- **leadingDocument**: type "AfterActionableFlow_Document" => to get the fileName, contentVersionId, contentDocumentId, contentDocumentLinkId and attachmentId
- **additionalDocuments**: type Collection of "AfterActionableFlow_Document" => to get the fileName, contentVersionId, contentDocumentId, contentDocumentLinkId and attachmentId

[Run Lighting Flow AFTER Actionable](https://www.youtube.com/embed/z6PXI48N3CU?si=sXgXUv5e9qa5PGQ3)

 Update the record 

[RUN FLOW AFTER ACTIONABLE - FILES Handling](https://www.youtube.com/embed/-HpRJv5jQNo?si=xmyC20Dzd4BvYoxV)

Save to document to another record
