블랙프라이데이: 지금 바로 Craft를 평생 40% 할인된 가격으로 만나보세요!

Imagine With Craft

Use Craft’s API to Build With Apple Shortcuts

With the API switched on, your Craft docs are ready to power your workflows. Automate with Apple Shortcuts and build upon your docs.

Craft
Apple Shortcuts

문서용 API 활성화

먼저 API를 활성화해 데일리 노트용 API 호출 경로가 생성될 수 있게 설정해야 합니다. 그 후 Apple Shortcuts에서 그 URL을 사용해 서버에 연결하세요.

Click the “Imagine” tab in the sidebar

Step 1

Open the “Imagine” tab
Click “Add Your First API Connection” button

Step 2

Click “Add Your First API Connection”
Configure API connection settings

Step 3

Configure your API connection with a name.
"문서 추가" 버튼을 클릭하세요

Step 4

Click “Add Document” to select which documents this API connection has access to.
API URL이 상단에 표시됩니다

Step 5

문서와 연결되는 API URL이 이제 상단에 표시됩니다
"AI 번들 다운로드" 버튼을 클릭하세요

Step 6

"AI 번들 다운로드" 버튼을 클릭하세요. API 문서와 해당 문서의 내용이 담긴 폴더가 다운로드됩니다.

Apple 단축어에서 API 사용

Craft 문서에서 API를 활성화하면, Apple 단축어에서 API를 활용해 작업을 자동화할 수 있습니다.

Apple 단축어를 사용하면 택 한번, Siri 음성 명령, 혹은 자동 실행으로 여러 작업을 한꺼번에 처리할 수 있습니다.

Create a new shortcut

Step 1

In Shortcuts, create a new shortcut. These examples show how to create your shortcut on macOS, but the same process applies to iOS too.
Configure the shortcut

Step 2

Set up the basic settings for your shortcut. Here, we are going to create a shortcut that saves a voice note to your Craft doc.
Connect to Craft API

Step 3

Using the Get Contents of URL action, you can use the API endpoints to work with your Craft doc. Learn more about Web APIs in Shortcuts here.
Configure your API calls

Step 4

Configure your API calls to use the endpoints you need, and send the correct data. Here, we are going to insert the transcribed voice note as a text block. Read more about JSON in Shortcuts here.
Use your shortcut

Step 5

Now your shortcut is ready! We added it to the lock screen, to quickly save a voice note to your Craft doc.

Some Ideas to Get You Started

Browse Examples