# Sendpulse

* [Sendpulse API nasıl yapılandırılır](#how-to-configure-sendpulse-api)&#x20;
* [Düzenleyiciden e-posta gönderimi nasıl ayarlanır](#how-to-set-up-sending-emails-from-the-editor)&#x20;
* [Bir e-posta adres defterine nasıl eklenir](#how-to-add-an-email-to-the-address-book)&#x20;
* [SMS nasıl gönderilir](#how-to-send-an-sms)

## Sendpulse API nasıl yapılandırılır

Sendpulse'da tek seferlik e-postalar göndermenize olanak tanıyan ücretsiz bir abonelik planı vardır.

Sendpulse API'yi kullanmak için ID ve Secret'a ihtiyacınız olacak; ayrıca gönderenin e-posta adresini de kaydetmeniz gerekecek.

{% hint style="info" %}
E-postaları yalnızca kayıt sırasında belirttiğiniz e-posta adresinden gönderebilirsiniz.
{% endhint %}

![](https://lh5.googleusercontent.com/tC8C8c6R_wjZDvMvgk5jiB9VvpcqBe9nSTO8FR-HMKP5ueeVSuP0h7DoYWE8VQ5ktaJV35EqcplElJoFDE33E0POGBbpWgj4w35LH1TN8FhNoVD2RqH0qYqqLcY453PLN_ftgUgyilavLWq1og)

E-postayı gönderim için SMPT bölümünde kaydedebilirsiniz

## Düzenleyiciden e-posta gönderimi nasıl ayarlanır

Bir  **email** göndermek için bunu Calculator sekmesine yapıştırmanız gerekir:

**sendpulse\_email(api\_id, api\_secret, from\_email, to\_email, subject, message, from\_name)**

burada

**api\_id** — Sendpulse'tan API kimliği \
**api\_secret** — Sendpulse'tan Gizli Anahtar \
**from\_email** — gönderenin e-posta adresi \
**to\_email** — alıcının e-posta adresi \
**subject** — e-postanın konusu \
**message** — e-postanın gövdesi (mesajın kendisi) \
**from\_name** — gönderenin adı

Bir  **şablon**:&#x20;

Önce, değeri template değişkenine ayarlayın; bu, gerekli şablona ait verilerdir:

**template = { "id": "Şablon numarası", "variables": { "değişken adı": "değişken değeri", "değişken adı": "değişken değeri" }}**

Sonra işlevi çağırın

**sendpulse\_email\_template(api\_id, api\_secret, from\_email, to\_email, subject, template)**

burada

**api\_id** — Sendpulse'tan API kimliği \
**api\_secret** — Sendpulse'tan Gizli Anahtar \
**from\_email** — gönderenin e-posta adresi \
**to\_email** — alıcının e-posta adresi \
**subject** — e-postanın konusu \
**şablon** — yukarıda ayarladığımız değişkenin değeri

Kolaylık olması için, e-postanın kime, hangi konu ve içerikle gönderileceğini soran bir bot örneğine bakalım.

Şimdi  **api\_id** ve **api\_secret** değerlerini değişkenlere kaydedelim. Bunu yapmak için Salebot'un proje ayarlarına gidin.

![](https://lh3.googleusercontent.com/FsdCNqRclYoa6a6sWQxAIw6ephOuwVkkepVZSvCnhYWEH9VfdvXAqeExCl60p9j2uknvIoCZ7nMYzpFvirv-GFOZqzE1WoBAuregI4EQaIhVGrLgd1CQm6H1yTbTronNH5wlAmy3krgEwG_H6A)

Ardından verileri toplayan bir şema oluşturun.

![](https://lh6.googleusercontent.com/rCermgFjtqDBoZ8TIBgZlGREgGLxerefrQcY7vYRdERQOExZCZhhBLQ2S_zxObFHq4TSM5kt1BHQO0e_-0fPX1ynAWRvbNSLo3drdRKRJMbIYpmiQQxPAegOfnki8djuwxkfrdbIEnj9KIrEIA)

Şimdi bunu test edelim:

![](https://lh5.googleusercontent.com/ucX81qCR2LnC1KtwUb9iAm76ILV5SNCwKcC-uVp6E9bkl7i_BdaxBDa93aCvJdsxBdD3GFjd2SKkiP-1S5YUom8TMGVRA8496vzVvtWJTLVFFYDMmY4KSPey0DbYe6N-zQrSe-_YXgnPXp0NUA)

## Bir e-posta adres defterine nasıl eklenir

Bir e-posta adresini adres defterine eklemek için bu yöntemi kullanın:

**sendpulse\_add\_to\_addressbook(api\_id, api\_secret, book\_id, email, variables=None)**

burada

**api\_id** — Sendpulse'tan API kimliği \
**api\_secret** — Sendpulse'tan Gizli Anahtar \
**book\_id** — adres defterinin kimliği \
**email** — eklemeniz gereken e-posta \
**variables** — (isteğe bağlı) bir değişken dizisi массив переменных. Bunu ayarlamanız gerekiyorsa, şu biçimde olmalıdır: {“variable\_name”:”variable\_value”}

## SMS nasıl gönderilir

Bir SMS göndermek için bu işlevi Calculator sekmesine yapıştırın:

**sendpulse\_sms(api\_id, api\_secret, sender, phone, text, transliterate=0, route=None)**

burada

**api\_id** — Sendpulse'tan API kimliği \
**api\_secret** — Sendpulse'tan Gizli Anahtar \
**sender** — gönderenin adı (11 Latin karakterin altında, rakam kullanabilirsiniz) \
**phone** — alıcının telefon numarası \
**text** — mesaj metni; değişken kullanmıyorsanız bunu parantez içine yerleştirmeniz gerekir \
**transliterate** — transliterate = 1, transliterasyon olmadan = 0 \
**route** — ülkelerde gönderim için kanal listesi, None olarak ayarlayabilirsiniz


---

# Agent Instructions: 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:

```
GET https://docs.mavibot.ai/doc/tr/integrations/other/sendpulse.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
