Max Playbooks
Create a Max playbook
Changed onCreates a playbook. Chat playbooks describe a workflow Max should follow when asked; auto-drafting playbooks shape the email replies Max writes for you. Requires a USER API key.
post/public/v1/max/playbooks
Request
- Base URLhttps://prod-api.getfrontline.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "example",
"description": "example",
"type": "AUTO_DRAFTING",
"instructions": "example value",
"tools": [
"example"
],
"visibility": "PRIVATE",
"integrations": [
"GMAIL"
],
"selectedRecordTypes": [
{
"recordTypeId": 1
}
],
"selectedCustomTools": [
{
"id": 1
}
],
"connectedAccountIds": [
1
]
}Response
Playbook created
Example response
{
"ok": true,
"data": {
"id": 1,
"name": "example",
"description": "example",
"type": "AUTO_DRAFTING",
"instructions": "example",
"tools": [
"example"
],
"attachments": [
{
"id": 1,
"name": "example",
"description": "example",
"fileUrl": "example",
"mimeType": "example",
"fileSize": 1,
"createdAt": "example",
"updatedAt": "example"
}
],
"accountId": 1,
"createdByUserId": 1,
"visibility": "PRIVATE",
"createdAt": "example",
"updatedAt": "example",
"assignedAt": "example",
"integrations": [
"GMAIL"
],
"selectedRecordTypes": [
{
"recordTypeId": 1
}
],
"selectedCustomTools": [
{
"id": 1
}
],
"connectedAccounts": [
{
"id": 1,
"toolkit": "example",
"connectedEmail": "example",
"alias": "example"
}
]
}
}Changes
- info
endpoint added
- info