Zapier에 테스트 데이터를 보내는 방법
학습 내용
Klaviyo에 이메일 및 SMS 동의를 전송하는 웹후크를 만들 때 POST 요청을 통해 테스트 데이터를 Zapier로 보내는 방법을 알아보세요.
이 문서는 Zapier를 통해 동의를 Klaviyo로 보내는 방법의 정보를 바탕으로 작성되었습니다.
POST 요청을 만드세요.
트리거를 테스트하기 전에 POST 요청을 통해 웹후크로 테스트 데이터를 보내야 해요. 아래 단계에서는 Postman을 통해 POST 요청을 보내는 방법을 설명하지만, 원하는 어떤 프로그램이든 사용하셔도 좋아요.
- Zapier에서 생성된 웹후크 URL을 복사해 주세요.
- Postman에서 New를 클릭해 새 요청을 시작하세요.
- 새로 만들기 메뉴에서 HTTP 요청 을 선택하세요.
- 이전에 복사한 Zapier 웹후크 URL을 URL 상자에 붙여넣으세요.
- 웹후크 URL 왼쪽의 드롭다운에서 POST를 선택하세요.
- Body 탭을 선택하고 form-data 라디오 버튼을 선택한 다음, 다음 표에서 키와 적절한 테스트 데이터를 입력하세요. 전화번호가 올바르게 형식 지정되었는지 확인해 주세요. 프로필이 리스트에 추가되려면 웹후크를 테스트할 때 실제 전화번호를 사용해야 해요.
키 | 값 |
| <Test name> |
| <Test email> |
| <Test phone number> |
| 참 |
- 보내기를 클릭해 Zapier로 테스트 데이터를 전송해 주세요.
- POST 요청이 성공하면 응답에서
"status": "success"줄이 표시돼요.
이제 Zapier로 돌아가 웹후크 설정 프로세스를 완료할 수 있어요.
추가 자료
- Getting started with Klaviyo APIs
Get a foundational understanding of API calls and how the Klaviyo APIs can benefit your business. In this guide, you will learn about REST APIs, HTTP methods, and developer tools to prepare you for testing Klaviyo's APIs. Your first API calls can be accomplished in as little as 10 minutes from start to finish. If you are already familiar with API calls and are ready to test our APIs, follow our guide on how to use our Postman collections.
- Understanding how information is exchanged between Klaviyo and apps
Learn about how information syncs between Klaviyo and your third-party apps via an application programming interface (API). Most data exchanged via a Klaviyo integration is one-way: data is pulled into your Klaviyo account so you can leverage a broad scope of your customer's data.
- How to send consent to Klaviyo via Zapier
Learn how to create a custom Zapier webhook to send SMS consent to Klaviyo. You can easily modify the instructions in this guide to send email consent as well.