actualNoteContentPart: [select the option "Use any Amplenote API in Node.js"](https://images.amplenote.com/e9aed28c-a6d6-11ed-a711-3ac2ea44f0fb/99833986-5f1b-4975-8670-263bb6d31ca5.png) . This will create a basic structure to call Amplenote's API using the [Axios library](https://axios-http.com/docs/intro) . 
  
  We will add the following code to the code step:
  
  ```
  import { axios } from "@pipedream/platform" export default defineComponent({  props: {    amplenote: {      type: "app",      app: "amplenote",    }  },  async run({steps, $}) {     //This authenthicates the user's account    const headers = { "Authorization": `Bearer ${this.amplenote.$auth.oauth_access_token}` };     //Exported values from the previus step    const today = steps.calculate_todays_date.today;    const last24Hours = steps.calculate_todays_date.last24Hours;         //Gets all of the notes created or edited in the last 24 hours    const data = await axios($, {      method: "GET",      url: `https://api.amplenote.com/v4/notes?since=${last24Hours}`,      headers: headers,    })     let note = getTodaysJot(data, today);     //Makes a POST request if there's no daily note    if (typeof note === 'undefined') {      const jsonData = {        name: today,        tags: [          {            text: 'daily-jots',            color: 'b4bfcc'          }        ]      }         note = await axios($, {        method: 'POST',        data: jsonData,        url: `https://api.amplenote.com/v4/notes`,        headers: {          Authorization: `Bearer ${this.amplenote.$auth.oauth_access_token}`,        },      })      }     $.export("Note UUID", note.uuid);  }}) //Verifies if there's a daily jot with today's date and returns it, else it returns an empty arrayfunction getTodaysJot(data, noteTitle) {  const dailyJotsTag = data.tags['daily-jots'].text;   // Filters the notes that contain the "daily-jots" tag  const dailyJotsNote = data.notes.filter(note => {    const noteTags = note.tags.map(tag => data.tags[tag].text);    return noteTags.includes(dailyJotsTag) && note.name.includes(noteTitle);  });   //dailyJotsNote is an array, and we only need oto return 1 note  return dailyJotsNote[0];}
  ```
  The code above should either get today's jots UUID, or create the note before getting it's UUID. If it created a new jot, you should be able to see it in your account.
  For the third and final step of this example, we will create a code step that creates a task and adds it to the daily jot, using the UUID we got from the previous step. The code block should have the following code:
  ```
  import { axios } from "@pipedream/platform" export default defineComponent({  props: {    amplenote: {      type: "app",      app: "amplenote",    }  },  async run({steps, $}) {     //Note UUID from the previous step and the actions type    const uuid = steps.get_or_create_todays_jot["Note UUID"];    const action = "INSERT_NODES";     //Task object to be added to the note via POST request    const task = {      type : "INSERT_NODES",      nodes : [        {          type : "check_list_item",          content : [            {              type :'paragraph',              content :[                {                  type : 'text',                  text : 'Remember to check your Google Drive!'                }              ]            }          ]        }      ]    }     //POST request    return await axios($, {      method: 'POST',      url: `https://api.amplenote.com/v4/notes/${uuid}/actions`,      data: task,      actions: action,      headers: {        Authorization: `Bearer ${this.amplenote.$auth.oauth_access_token}`,      },    })  },})
  ```
processedNoteContent: ---
  title: Connect Amplenote to other apps using Siri Shor...
  headers: ## Example 2 - Adding something to the daily jots using custo...
  ---
   hours that match today's date or create a new jot, based on the results of the previous steps. For this, create a new step, type and select "Amplenote" and [select the option "Use any Amplenote API in Node.js"](https://images.amplenote.com)`
   . This will create a basic structure to call Amplenote's API using the [Axios library](https://axios-http.com)`
   . We will add the following code to the code step: import { axios } from "@pipedream/platform" export default defineComponent({  props: {    amplenote: {      type: "app",      app: "amplenote",    }  },  async run({steps, $}) {     //This authenthicates the user's account    const headers = { "Authorization": `Bearer ${this.amplenote.$auth.oauth_access_token}` };     //Exported values from the previus step    const today = steps.calculate_todays_date.today;    const last24Hours = steps.calculate_todays_date.last24Hours;         //Gets all of the notes created or edited in the last 24 hours    const data = await axios($, {      method: "GET",      url: `https://api.amplenote.com/v4/notes?since=${last24Hours}`,      headers: headers,    })     let note = getTodaysJot(data, today);     //Makes a POST request if there's no daily note    if (typeof note === 'undefined') {      const jsonData = {        name: today,        tags: [          {            text: 'daily-jots',            color: 'b4bfcc'          }        ]      }         note = await axios($, {        method: 'POST',        data: jsonData,        url: `https://api.amplenote.com/v4/notes`,        headers: {          Authorization: `Bearer ${this.amplenote.$auth.oauth_access_token}`,        },      })      }     $.export("Note UUID", note.uuid);  }}) //Verifies if there's a daily jot with today's date and returns it, else it returns an empty arrayfunction getTodaysJot(data, noteTitle) {  const dailyJotsTag = data.tags['daily-jots'].text;   // Filters the notes that contain the "daily-jots" tag  const dailyJotsNote = data.notes.filter(note => {    const noteTags = note.tags.map(tag => data.tags[tag].text);    return noteTags.includes(dailyJotsTag) && note.name.includes(noteTitle);  });   //dailyJotsNote is an array, and we only need oto return 1 note  return dailyJotsNote[0];}
  The code above should either get today's jots UUID, or create the note before getting it's UUID. If it created a new jot, you should be able to see it in your account.
  For the third and final step of this example, we will create a code step that creates a task and adds it to the daily jot, using the UUID we got from the previous step. The code block should have the following code: import { axios } from "@pipedream/platform" export default defineComponent({  props: {    amplenote: {      type: "app",      app: "amplenote",    }  },  async run({steps, $}) {     //Note UUID from the previous step and the actions type    const uuid = steps.get_or_create_todays_jot["Note UUID"];    const action = "INSERT_NODES";     //Task object to be added to the note via POST request    const task = {      type : "INSERT_NODES",      nodes : [        {          type : "check_list_item",          content : [            {              type :'paragraph',              content :[                {                  type : 'text',                  text : 'Remember to check your Google Drive!'                }              ]            }          ]        }      ]    }     //POST request    return await axios($, {      method: 'POST',      url:
noteTitle: Connect Amplenote to other apps using Siri Shortcuts, IFTTT or Pipedream (custom API integrations & automations)