Batch: Email attachments

Lucie_165355
Lucie_165355 Posts: 1
edited October 2021 in Questions

**Hello,
I have to batch processes. The output of each batch is a file from a table (different table for each batch). One excel file and one PDF file. I need to send both files by email to a specific customer for confirmation, but I didn't find a way how to reference them in the attachment field. Could you please advise me how to do it? **

Thank you

Comments

  • Andrew_239256
    Andrew_239256 Posts: 16 admin

    Hi @Lucie_146255 - Both files will be made available from within the table associated with the batch action. The output name will look similar to the following where batch-name is the output field prefix for the action.
    {{(batch name)--successful-runs-data-table-id}}

    Once the batch processes complete and the table is generated, you can look up the row containing your file and extract it.

    To step back, what is happening in both batches where you need to access a singular file? Depending on what you're trying to accomplish, I'm wondering if there is a simpler approach.

    Thanks,

    Andrew