> For the complete documentation index, see [llms.txt](https://onehae.gitbook.io/onehae-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onehae.gitbook.io/onehae-v2/crm/crm_auto_coupon.md).

# 자동 메시지 - 쿠폰

{% hint style="info" %}
\[CRM캠페인 > 자동 메시지 > 쿠폰] 에서 확인하실 수 있어요!
{% endhint %}

모든 기본 연동을 완료하셨다면,\
이제 원해의 강력한 CRM 기능 중 하나인 **자동 쿠폰 알림톡**을 사용해 보세요 🌈

자동 쿠폰 CRM을 통해 쇼핑몰에서 생성된 쿠폰이 **발급되거나 만료될 때**,\
원해가 **자동으로 고객에게 알림톡을 발송**해 드립니다.

## 설정

<figure><img src="/files/ZS9AfpvEonqdDmK33sUy" alt=""><figcaption></figcaption></figure>

**❶ 쿠폰 발급 알림톡 템플릿 선택**

* 쿠폰 발급 시 사용할 **알림톡 템플릿**을 선택해 주세요.
* 기본으로 제공되는 **기본 알림톡 템플릿 사용을 권장**드립니다.

👉[기본 알림톡 템플릿 가이드](/onehae-v2/crm/default_template.md)

**❷ 알림톡 클릭 시 이동할 URL 설정**

* 고객이 알림톡을 클릭했을 때 이동할 **페이지 URL**을 입력해 주세요.

**❸ 알림톡 발송 조건 설정**

* 쿠폰 **발급 시 / 만료 시** 알림톡 발송을 원하신다면 각 항목의 **체크박스를 선택**하면 설정이 완료됩니다.

## 작동 원리

### 쿠폰 발급 알림톡

* 원해는 **10분 단위로 쿠폰 발급 여부를 확인**합니다.
* 신규로 쿠폰을 발급받았으나 아직 해당 쿠폰의 알림톡을 받지 않은 고객에게 **쿠폰 발급 알림톡이 자동 발송**됩니다.

### 쿠폰 만료 알림톡

* 만료 알림톡은 **‘쿠폰 만료 알림톡 발송 시간’** 설정값을 기준으로 **2\~26시간 이내에 만료 예정인 쿠폰**이 있을 경우\
  만료 알림톡이 **1회 발송**됩니다.

## 한 번에 여러개의 쿠폰이 발급된다면?

* 동일한 **알림톡 템플릿**으로 발송되는 경우\
  \&#xNAN;**“OOO 쿠폰 외 10종”** 과 같은 형태로 **하나의 알림톡**이 발송됩니다.
* 쿠폰 발급 시간이 겹치더라도\
  사용되는 템플릿이 서로 다르게 설정되어 있다면 여러 개의 알림톡이 각각 발송됩니다.

※ 쿠폰 **만료 알림톡도 동일한 방식**으로 작동합니다.

## 이미 운영중인 쿠폰이 있다면 어떻게 되나요?

#### ❶ 쿠폰 발급 알림톡

* 알림 설정 이전에 고객이 이미 쿠폰을 받았더라도, 해당 쿠폰이 **아직 만료되지 않았다면 쿠폰 발급 알림톡이 발송**됩니다.

#### ❷ 쿠폰 만료 알림톡

* 설정한 시간 기준으로 **2\~26시간 이내에 만료되는 쿠폰**이 있다면 고객에게 **만료 알림톡이 발송**됩니다.

## 테스트 발송을 했는데 모르는 이름으로 알림톡이 왔어요

* 발송 타겟을 **전체 회원** 또는 **업로드 방식**으로 설정한 경우, 시스템에서 **임의의 랜덤 데이터를 추출**하여\
  테스터 휴대폰으로 알림톡을 발송합니다.

## 발송 내역

자동 메시지를 포함하여 원해에서 발송된 **모든 알림톡은 발송내역 페이지**에서 확인할 수 있습니다. [\[발송내역 가이드\]](https://onehae.gitbook.io/onehae-v2.0.0/crm/crm_message_history)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://onehae.gitbook.io/onehae-v2/crm/crm_auto_coupon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
