Skip to content

Instantly share code, notes, and snippets.

@mskog
Created June 1, 2021 17:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mskog/e676a711a31d200a2ebed9bfd3612907 to your computer and use it in GitHub Desktop.
Save mskog/e676a711a31d200a2ebed9bfd3612907 to your computer and use it in GitHub Desktop.
{
"schema_version": 1,
"name": "Trello to Notion",
"description": "No description provided",
"source_url": false,
"guid": "e460cd75f07b134f913d503328a3a9f3",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2021-06-01T17:53:04Z",
"agents": [
{
"type": "Agents::PostAgent",
"name": "Notion Create Work Inbox",
"disabled": false,
"guid": "657305c76051dae7b449b751dd7ff980",
"options": {
"post_url": "https://api.notion.com/v1/pages",
"expected_receive_period_in_days": "1",
"content_type": "json",
"method": "post",
"payload": {
"parent": {
"database_id": "<NOTION_DATABASE_ID>"
},
"properties": {
"Name": {
"title": [
{
"text": {
"content": "{{name}}"
}
}
]
}
},
"children": [
{
"object": "block",
"type": "paragraph",
"paragraph": {
"text": [
{
"type": "text",
"text": {
"content": "{{description}}"
}
}
]
}
}
]
},
"headers": {
"Authorization": "Bearer <NOTION_API_SECRET>"
},
"emit_events": "false",
"no_merge": "false",
"output_mode": "clean"
},
"schedule": "never",
"keep_events_for": 0,
"propagate_immediately": false
},
{
"type": "Agents::WebsiteAgent",
"name": "Trello TODO Cards",
"disabled": false,
"guid": "b088cc23617062a3145c8f4d052590ec",
"options": {
"expected_update_period_in_days": "2",
"url": "https://api.trello.com/1/lists/<TRELLO_LIST_ID>/cards?key=<TRELLO_API_KEY>&token=<TRELLO_API_TOKEN>",
"type": "json",
"mode": "on_change",
"extract": {
"name": {
"path": "*.name"
},
"id": {
"path": "*.id"
},
"description": {
"path": "*desc"
}
}
},
"schedule": "every_10m",
"keep_events_for": 0,
"propagate_immediately": false
},
{
"type": "Agents::WebsiteAgent",
"name": "Trello Work Cards",
"disabled": false,
"guid": "cb16821adc07a5cb1039bcf6f193f61c",
"options": {
"expected_update_period_in_days": "2",
"url": "https://api.trello.com/1/lists/<TRELLO_LIST_ID>/cards?key=<TRELLO_API_KEY>&token=<TRELLO_API_TOKEN>",
"type": "json",
"mode": "on_change",
"extract": {
"name": {
"path": "*.name"
},
"id": {
"path": "*.id"
},
"description": {
"path": "*desc"
}
}
},
"schedule": "every_10m",
"keep_events_for": 0,
"propagate_immediately": false
},
{
"type": "Agents::PostAgent",
"name": "Trello Delete Card",
"disabled": false,
"guid": "edd24dc6be73034640d8b79667b4ea28",
"options": {
"post_url": "https://api.trello.com/1/cards/{{id}}?key=<TRELLO_API_KEY>&token=<TRELLO_API_TOKEN>",
"expected_receive_period_in_days": "1",
"content_type": "form",
"method": "delete",
"headers": {},
"emit_events": "false",
"no_merge": "false",
"output_mode": "clean"
},
"schedule": "never",
"keep_events_for": 0,
"propagate_immediately": false
},
{
"type": "Agents::PostAgent",
"name": "Notion Create Personal Inbox",
"disabled": false,
"guid": "f3ff57ee99ec7024c058177a0a43c9ed",
"options": {
"post_url": "https://api.notion.com/v1/pages",
"expected_receive_period_in_days": "1",
"content_type": "json",
"method": "post",
"payload": {
"parent": {
"database_id": "<NOTION_DATABASE_ID>"
},
"properties": {
"Name": {
"title": [
{
"text": {
"content": "{{name}}"
}
}
]
}
},
"children": [
{
"object": "block",
"type": "paragraph",
"paragraph": {
"text": [
{
"type": "text",
"text": {
"content": "{{description}}"
}
}
]
}
}
]
},
"headers": {
"Authorization": "Bearer <NOTION_API_SECRET>"
},
"emit_events": "false",
"no_merge": "false",
"output_mode": "clean"
},
"schedule": "never",
"keep_events_for": 0,
"propagate_immediately": false
}
],
"links": [
{
"source": 1,
"receiver": 4
},
{
"source": 1,
"receiver": 3
},
{
"source": 2,
"receiver": 0
},
{
"source": 2,
"receiver": 3
}
],
"control_links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment