create-veeva-rte
v0.4.0
Published
CLI tool to quickly setup Veeva RTEs boilerplate files (email template and fragments) in your current directory.
Readme
Create Veeva Rep-triggered Email (RTE)
CLI tool to quickly setup Veeva RTEs boilerplate files (email template and fragments) in your current directory.
Quick Start
NPX
Using npx, run the following command below to create an RTE project in current directory:
npx create-veeva-rteGlobal
Or install this package globally using:
npm install create-veeva-rte -gThen run the following command in your terminal to verify:
create-veeva-rteCommands
Project
Usage: npx create-veeva-rte project
Description: Creates a new directory containing multiple email templates and fragments.
Example:
npx create-veeva-rte project
RTE project directory name: example-rte-directory-name
Number of email templates: 1
Email template 1 name: template 1
Number of email fragments: 2
Email fragment 1 name: fragment 1
Email fragment 2 name: fragment 2Output:
.
`-- example-rte-directory-name/
|-- email fragments/
| |-- fragment 1/
| | `-- index.html
| `-- fragment 2/
| `-- index.html
`-- email templates/
`-- template 1/
`-- index.htmlEmail Template
Usage: npx create-veeva-rte email-template {{directory name}}
Description: Creates 1 new email template in the current working directory.
Example:
npx create-veeva-rte email-template MOAOutput:
.
`-- current-working-directory/
`-- MOA/
`-- index.htmlEmail Fragment
Usage: npx create-veeva-rte email-fragment {{directory name}}
Description: Creates 1 new email fragment in the current working directory.
Example:
npx create-veeva-rte email-fragment summaryOutput:
.
`-- current-working-directory/
`-- summary/
`-- index.htmlAdditional Resources
- Creating Approved Email Templates
- Creating Approved Email Fragments
- Approved Email Configuration Tokens
Author
Jayvin Duong
