{#if step != 3} {:else} {/if} {#if step > 1} {/if} {#if step == 2} {/if}
{#if step === 1}
changeStep(2)} namePlaceholder="my_script" kind="script" >
Script permissions depend on their path. Select the group all to share your script, and user to keep it private. docs

Language

initContent(e.detail, script.kind, template)} bind:value={script.language} />

Script Kind In most cases, you will want the General Script.
Trigger are meant to be used as the first module of flows to trigger them based on watching new events externally.
Failure scripts are used to handle unrecoverable errors of flows and for handling errors at the workspace level.
Command scripts are used when the workspace is associated with a slack workspace to be triggered on command.

{#if script.language == 'deno'}
{ if (isInitialCode(script.content)) { template = 'script' initContent(script.language, e.detail, template) } }} bind:value={script.kind} />
{:else}
{ if (isInitialCode(script.content)) { template = 'script' initContent(script.language, e.detail, template) } }} bind:value={script.kind} />
{/if} {#if script.language == 'deno' && script.kind == Script.kind.SCRIPT}

Script Template A template is a pre-filled script corresponding to a more specialized use-case

initContent(script.language, script.kind, e.detail)} bind:value={template} />
{/if}