From 4c4d611bd9bbbdebdf8f786b9cd92236fb8124f0 Mon Sep 17 00:00:00 2001 From: colinfrederickson <110066636+colinfrederickson@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:04:34 -0600 Subject: [PATCH] Add "next" URL to job completion response Added a "next" action in the job completion response that redirects users to the "Available Downloads" section of the Files page in Flatfile. This enhancement provides a smoother user experience by guiding users directly to their exported files. --- plugins/export-workbook/src/plugin.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/export-workbook/src/plugin.ts b/plugins/export-workbook/src/plugin.ts index df0ffad6b..962da54c2 100644 --- a/plugins/export-workbook/src/plugin.ts +++ b/plugins/export-workbook/src/plugin.ts @@ -198,6 +198,11 @@ export const run = async ( outcome: { message: 'Data was successfully written to Excel file and uploaded. You can access the workbook in the "Available Downloads" section of the Files page in Flatfile.', + next: { + type: 'url', + url: `https://spaces.flatfile.com/space/${spaceId}/files?mode=export`, + label: 'Available Downloads', + }, }, })