> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/en/crm-marketing/webhook-guide/use-cases/webhook-kakaotalk-nhn.md).

# Send Kakao Alimtalk via Webhook (NHN Cloud)

You can create a webhook campaign by referring to the API provided by the provider. Let's explore the case of creating a webhook using the

[NHN KakaoTalk Bizmessage Send API](https://docs.nhncloud.com/ko/Notification/KakaoTalk%20Bizmessage/ko/friendtalk-overview/).

#### URL Settings

First, enter the HTTP method and URL according to the NHN message send API.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-d093606abf4a29f434031252a908d12030d88ac7%2Fecd714f60afe5d234c2d59e24e08fa871733f615_7ff4c7d1fde28636.png?alt=media)

#### Header Settings

Click the 'Add' button in the Headers tab and configure the Key and Value as follows.

Personalization was used to dynamically add the X-Secret-Key and accesstoken issued by NHN for each send target user.

Key: `Authorization`

Value: `{{user_properties.authorization_type}} {{user_properties.access_token}}`

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-18ee6750940943299bc0637fc21b7dded060001f%2Fc5f8ef6998abae30ace77ae4802772ec0a5ca9cd_f0e045a3f66c2017.png?alt=media)

> 📘 Using Personalization
>
> Just like writing a personalized message by clicking {...}, you can use already-stored user and event [properties](https://docs.hackle.io/en/event-management/properties.md) to dynamically inject user-specific token values, etc., which can be used when configuring webhook message campaigns, as shown in the example above.

#### Body Settings

Click the Body tab and write the Request Body in JSON format as follows.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-fe85191f196efeafa1b65d11c22291c40fe5e4cc%2Fa8a5996baa71188eb9cbcbe832d5582f48de73d0_ca61b88bbaa05d72.png?alt=media)

#### Kakao Alimtalk Delivery Body Sample

> 📘 Using Personalization
>
> Just like writing a personalized message by clicking {...}, you can use already-stored user and event [properties](https://docs.hackle.io/en/event-management/properties.md) to dynamically inject user-specific phone numbers, etc., which can be used when configuring webhook message campaigns, as shown in the example below.

```
curl https://api-alimtalk.cloud.toast.com/alimtalk/v2.3/appkeys/{appkey}/messages?webhook_key=10 \
  -X POST \
  -H "Content-Type": "application/json" \
  -H "X-Secret-Key": "X-Secret-Key" \
  -H "Authorization": "{{user_properties["authorization_type"] }}{{user_properties["access_token"] }}" \
  -d '{
    "senderKey": "String",
    "templateCode": "String",
    "requestDate": "String",
    "senderGroupingKey": "String",
    "createUser": "String",
    "recipientList": [{
        "recipientNo": "{{user_properties["phoneNumber"] | default: ""}}",
        "templateParameter": {
            "String": "String"
        },
        "resendParameter": {
          "isResend": "boolean",
          "resendType": "String",
          "resendTitle": "String",
          "resendContent": "String",
          "resendSendNo": "String"
        },
        "buttons": [
          {
            "ordering": "Integer",
            "chatExtra": "String",
            "chatEvent": "String",
            "relayId": "String",
            "oneClickId": "String",
            "productId": "String",
            "target": "String"
          }
        ],
        "quickReplies": [
        {
            "ordering": "Integer",
            "chatExtra": "String",
            "chatEvent": "String",
            "target": "String"
        }
        ],
        "recipientGroupingKey": "String"
    }],
    "messageOption": {
      "price": "Integer",
      "currencyType": "String"
    },
    "statsId": "String"
}'
```

#### Target Settings

Configure the cohort to be the webhook send target.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-64d80a080fa422a99dd9c008cf08a7e23173f401%2F9608918a1601fc9f156eae2e1b3045c9565de27f_3dddabb0bdc0587b.png?alt=media)

#### Summary

Now save the webhook campaign settings. You can see the following summary.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-6f7f3209a167248374d1b0d0f2691c759fb7b4fc%2F96cd9e8c4c68fca6921c2075d6ba58de0684417e_8aaf9767e739be62.png?alt=media)

#### Send Settings

Now activate the webhook campaign through the send settings.

In the send settings screen, you can check information about the estimated send target.

Configure the send type and customer fatigue management, then click 'Start' to activate the campaign.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-ce75da6d66fa9ac808fcb926997c962a382470fc%2Fbf8c7167e70d332530390b3f9a027c484bb020e1_e3f80f40edfa4386.png?alt=media)

#### Complete

The KakaoTalk Alimtalk webhook campaign activation is complete.

Check the statistics section to track the campaign's performance.

![](https://143363954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyAVlNQhS253reum0Ce94%2Fuploads%2Fgit-blob-5735262e36633010d4c6eb3df5e1cbab474516a6%2Faf5397a3a8d7cbdb814f0f8fa5b9a0b0ae5fdc87_badbbe498d1eebdd.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hackle.io/en/crm-marketing/webhook-guide/use-cases/webhook-kakaotalk-nhn.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
