Operations 6
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Which email campaigns do I have in Plunk right now?”
“Can I filter my campaigns by status, like only drafts or only sent ones?”
Tell an agent
List all my email campaigns, newest first.
Show campaigns with status {status}.
Ask an LLM
“How do I set up a new marketing email campaign?”
“Can a new campaign target just one segment instead of every contact?”
Tell an agent
Create a campaign called {name} with subject {subject} from {from} going to all contacts, body {body}.
Draft a campaign {name} for segment {segmentId} with subject {subject}, sender {from}, and body {body}.
Ask an LLM
“Can I change the subject line of a campaign that's still a draft?”
“What parts of a draft campaign can I edit before it goes out?”
Tell an agent
Change the subject of draft campaign {id} to {subject}.
Replace the email body of draft campaign {id} with {body}.
Ask an LLM
“Can I permanently remove a campaign I no longer need?”
“What happens when I delete a campaign by its id?”
Tell an agent destructive · confirm first
Delete campaign {id}.
Remove the campaign with id {id} from my project.
Ask an LLM
“How do I schedule a campaign to go out at a specific date and time?”
“If I leave out the scheduled time, does the campaign send right away?”
Tell an agent
Schedule campaign {id} to go out at {scheduledFor}.
Send campaign {id} immediately to its audience.
Ask an LLM
“Can I do a test send of a campaign before sending it for real?”
“Is there a way to delay a campaign by a number of minutes before it sends?”
Tell an agent
Do a test send of campaign {id} rather than a live one.
Send campaign {id} live with {live} set, after a {delay}-minute delay.
Documentation
Documentation
https://docs.useplunk.com/api-reference/transactional/send
APIReference
https://docs.useplunk.com/api-reference/overview
Documentation
https://docs.useplunk.com/api-reference/transactional/track
Documentation
https://docs.useplunk.com/api-reference/contacts/create
Documentation
https://docs.useplunk.com/api-reference/campaigns/create