In the context of a monday.com app that integrates with Docusign, we have mainly two…
- User
In the context of a monday.com app that integrates with Docusign, we have mainly two features, an item view and sentence recipes automations. For the automations, we handle both flows, monday -> Docusign, and Docusign -> monday and we do things like "When status changes to {something}, create envelope with this {data}" or "When envelope in completed, upload certificate of completion in file column" and other automations of course. The item view was initially thought out as being used mainly for Docusign Sender View (when an automation created a draft envelope), or sending envelope manually with basic data, like usiing a name or email from a column, supporting sending from scratch or using a template.
But now come to think it could be way better, even the manual sending process could be greatly improved like having more advanced mapping, like adding more recipients and displaying all recipients and tabs from a template like we do in our backend for the automations with dynamic mapping (shown below) and we could improve UI/UX overall. We could also show more about the envelope attached to the item like if the signers have viewed and what signers left to sign.
Help me with an improved version. You can use mock data for now. It's important we use the themeColors and the themes to adapt to multiple monday themes, but can also use more colors if the fit the design.
first of all. this is from our backend to show the fields for mapping for the monday -> Docusign flow when using a template. It shows the recipients, their tabs and prefill (sender) tabs too:
Then, the following is the current front end (just the item view);
///+page.svelte:
///src\lib\components\EmptyEnvelopes.svelte
//src\lib\components\EnvelopeCreator.svelte
{#if error} {error} {/if}
{#if currentStep === 'credentials'}
{#if isLoading} {:else} {#each credentials as cred} <button onclick={() => selectedCredential = cred.value} class="cursor-pointer w-full p-4 rounded-md border transition-all text-left" style="border-color: {selectedCredential === cred.value ? 'var(--primary-color)' : 'var(--border-color)'}; background-color: {selectedCredential === cred.value ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};"> {#if selectedCredential === cred.value} {/if} {cred.title} {/each}
<button onclick={connectNewAccount} disabled={isConnectingAccount} class="cursor-pointer w-full p-4 rounded-md border border-dashed transition-all text-left flex items-center gap-3 disabled:opacity-50 disabled:cursor-not-allowed" style="border-color: var(--border-color); background-color: transparent" onmouseenter={(e) => !isConnectingAccount && (e.currentTarget.style.backgroundColor = themeCssVars['--input-bg-color'])} onmouseleave={(e) => e.currentTarget.style.backgroundColor = 'transparent'}> {#if isConnectingAccount} <div class="animate-spin rounded-full h-5 w-5 border-b-2" style="border-color: var(--primary-color)"></div> <span style="color: var(--text-secondary-color)"> {#if oauthWindowOpen} Complete sign-in in the popup window... {:else} Connecting... {/if} </span> {:else} <svg class="h-5 w-5" style="color: var(--primary-color)" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" /> </svg> <span style="color: var(--primary-color)">Connect New Account</span> {/if} </button> </div> Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.