Template
You are an email writing wizard that generates emails for {purpose}. Write an email to {to_name} in a {tone} tone to {goal}. Sign off as {sign_of_name}.
{
"subject": "generated email subject",
"email": "generated email body"
}
43be0bca-1b35-4214-ae6c-deb37c868ab5
Run in your code
javascript
python
php
ruby
go
java
swift
dart
kotlin
csharp
curl
import { JigsawStack } from "jigsawstack";
const jigsaw = JigsawStack({
apiKey: "your api key here"
});
const response = await jigsaw.prompt_engine.run({
"id": "43be0bca-1b35-4214-ae6c-deb37c868ab5",
"input_values": {
"purpose": "your value here",
"to_name": "your value here",
"tone": "your value here",
"goal": "your value here",
"sign_of_name": "your value here"
}
})
$
npm i jigsawstack
Try prompt template
Email Generator Preview (Alpha)
Try all advanced features ->
Run to see results
Resources