Cara membuat prospek atau kasus di Salesforce dengan Flow Builder

Cara membuat prospek atau kasus di Salesforce dengan Flow Builder

Cara membuat prospek atau kasus di Salesforce dengan Flow Builder

Dec 2, 2021

Diterbitkan oleh

Diterbitkan oleh

Bird

Bird

Kategori:

Kategori:

Flow Builder

Flow Builder

Ready to see Bird
in action?

Ready to see Bird
in action?

How to create leads or cases in Salesforce with Flow Builder

Bird menawarkan banyak integrasi langsung yang memungkinkan Anda untuk menyambungkan komunikasi Anda ke alat dan platform yang sudah digunakan dalam bisnis Anda.


Using Pembangun Aliran native integrations, custom connections via HTTP requests and webhooks, you can easily enrich customer profiles, enable rapid sales engagement and drive more qualified leads.


Today, we will discuss our integration with Salesforce. 


Dengan integrasi ini, Anda bisa:

  • Tambahkan prospek ke Salesforce dari berbagai komunikasi channels: Ada yang, Instagram, Telegram, WeChat, LINE, Messenger, Google Business Chat, Viber, dll.

  • Buat kasus di Salesforce untuk menyimpan catatan, dan simpan data kunci di dalam kasus dari semua channels

  • Menerapkan fleksibilitas dan otomatisasi pembuatan prospek/kasus di titik mana pun dalam saluran penjualan Anda


Dalam panduan ini, Anda akan mempelajari caranya:

  1. Siapkan tenaga penjualan Anda dengan benar

  2. Menghubungkan Salesforce dengan Bird

  3. Memecahkan masalah saat menghubungkan Salesforce

  4. Buat alur di Flow Builder yang akan mendorong data ke Salesforce

  5. Hubungkan Ada yang dengan Salesforce untuk mengirim prospek Anda

  6. Hubungkan Viber dengan Salesforce untuk mengirim kasus Anda


Persyaratan untuk integrasi Salesforce

Sebelum Anda mulai membangun logika di Flow Builder, Anda harus menyiapkan persyaratan berikut ini:

  • Akun Bird: Make sure you have access as administrator.

  • Akun Salesforce: Anda memerlukan "Akses Administrator"


Langkah 1: Buka Aplikasi Terhubung di Salesforce untuk mengintegrasikan dengan Bird

To access the Aplikasi yang Terhubung section in Salesforce (Lighting Experience), follow these steps:


  1. Login to Salesforce as an administrator

  2. Select Pengaturan in the drop-down list of the account (in the upper-right corner)

  3. On the left-hand pane, go to Manajer Aplikasi > Aplikasi Terhubung Baru


Harap diperhatikan: jika Anda menghadapi masalah tampilan di bawah ini, silakan klik "Klik di sini untuk membuka halaman ini di Salesforce Classic."



On the Aplikasi Terhubung Baru page, fill the following required fields under Basic Information:


  • Nama Aplikasi yang Terhubung, e.g. Bird Integration.

  • Nama API, e.g. Bird_Integration

  • Email Kontak, e.g. xxx@contactemail.com


  1. Go to API (Aktifkan Pengaturan OAuth), and select Mengaktifkan Pengaturan OAuth.


  • In the URL Panggilan Balik field, enter https://login.salesforce.com/

  • In the Lingkup OAuth yang Dipilih field, select Mengakses dan mengelola data Anda (api)

  • Menyediakan akses ke data Anda melalui Web (web)

  • Melakukan permintaan atas nama Anda kapan saja (refresh_token, offline_access)

  • Click Menambahkan


  1. Click the Simpan button to save the new Connected App.



  1. In the Aplikasi yang Terhubung (Apps > App Mengelolar) list, find the App that you just created, and then click Manage.

  2. On the page that opens, click the Sunting button. 

  • Under Kebijakan OAuth, select Semua pengguna dapat melakukan otorisasi sendiri in the Pengguna yang Diizinkan list

  • In the Relaksasi IP, select Melonggarkan pembatasan IP 

  • In the Refresh Kebijakan Token, click Refresh token berlaku hingga dicabut. Under Session Policies, Select Waktu habis value (24 jam), click the Simpan button



  1. Go back ke Aplikasi yang Terhubung (Apps > App Manager) list, and click the App that you just created, and then click on Melihat.

  2. Go to API (Aktifkan Pengaturan OAuth) and note down the Kunci Konsumen and Rahasia Konsumen. You need this key and secret for the configuration of credentials in MessageBird’s Salesforce integration.


Langkah 2: Mendapatkan token dari Salesforce untuk mengotorisasi akses

In Salesforce, access tokens have a limited lifetime specified by the session timeout. If an application uses an expired access token, a “Sesi kedaluwarsa atau tidak valid” error will be shown. 


Gunakan refresh token selama proses otorisasi untuk mendapatkan token akses yang baru. Menggunakan token baru akan memastikan bahwa token akses selalu aktif.


  1. Get your instance URL. Send the following curl request to obtain the instance URL. 

  • client_id = Kunci Konsumen

  • client_secret = Rahasia Konsumen

  • nama pengguna = Nama pengguna login Salesforce

  • kata sandi = Kata sandi masuk Salesforce



If you are not familiar with curl you can use Tukang pos to send the request. Follow these steps:



  1. Get your code. Use your favorite browser, then enter the following request URL in a new tab to get the code. 

  • <CONSUMER_KEY> should be replaced with the obtained Consumer Key in the above step

  • <YOUR_INSTANCE> should be replaced with your instance name




Selanjutnya, masukkan URL permintaan Anda di browser. Izinkan akses jika ada peringatan yang muncul. Anda kemudian akan melihat browser dialihkan ke URL seperti di bawah ini. Anda bisa mendapatkan kode menggunakan URL yang sama.


  • https://login.salesforce.com/?code=XXXX


  1. Get access token & refresh token: Send the following curl request to obtain the tokens. 


  • <CODE> should be replaced with the code you obtained in the above step. 

  • <CONSUMER_KEY>

  • <CONSUMER_SECRET> should be replaced with obtained keys with the created Connected App



You can obtain the access_token and refresh_token from the response.



If you are not familiar with curl you can use Postman to send the request. Follow these steps:



Memecahkan masalah koneksi Salesforce Anda

Kesalahan paling umum yang ditemui ketika mengintegrasikan Salesforce dengan Bird dan cara memperbaikinya:


  1. Masalah 'REST API tidak diaktifkan untuk Organisasi ini'

Ketika Anda mencoba mengirim permintaan ke API Salesforce menggunakan kredensial di atas, terkadang Anda akan mendapatkan kesalahan ini.


  • REST API tidak diaktifkan untuk Organisasi ini.

Anda dapat mengatasi kesalahan ini dengan mengikuti langkah-langkah di bawah ini.

Click on Pengaturan in the right top corner.



Go to ADMINISTRATION > Manage Users and click on Profil.



Click Sunting on the specific profile you want to update.

Scroll down and go to Izin Administratif and check the API Diaktifkan checkbox.



Don't forget to go down the page and click Simpan.


Langkah 3: Buat alur baru di Flow Builder untuk membuat prospek atau kasus

The configuration of Salesforce is done. Now, let’s start a new flow. Templat ini will help you connect your favorite communication channel with Salesforce and push new leads or cases for your team to follow up:


  1. Log in to your Bird Dasbor and go to Flow Builder

  2. Download the aliran sampel that you will be using.

  3. Import the flow with the import function. 



Attach the channels you want to use to create leads/cases into Salesforce. Then, you can publish this flow. 


Menggunakan Salesforce dengan WhatsApp dan Viber

Alur template ini akan memungkinkan Anda untuk menghubungkan channels favorit Anda (WhatsApp, Viber, SMS, dll.) dengan Salesforce. Contoh berikut ini, akan menunjukkan cara menghubungkan Salesforce untuk membuat prospek:


  • WhatsApp

  • Viber


Perlu diingat bahwa Anda dapat mengubah saluran atau kasus penggunaan tergantung pada kebutuhan Anda.



Anda seharusnya dapat melihat aliran Anda pada layar Anda.



Fetch your access token before activating your flow. 

Titik akhir API adalah sebagai berikut:

  • client_id = Kunci Konsumen

  • client_secret = Rahasia Konsumen, 

  • Untuk refresh_token, silakan lihat langkah 2.3.




Buat Prospek ke Salesforce dengan WhatsApp

Replace https://XXXX.my.salesforce.com with your instance URL. Telepon, Nama Belakang, Perusahaan, Sumber Utama, Deskripsi are the field names from Salesforce. 


You can find them under Setup > Object manager > Lead > Fields & Relationship. 




Buat Kasus ke dalam Salesforce dengan Viber

Replace https://XXXX.my.salesforce.com with your instance URL. Telepon, Nama Belakang, Perusahaan, Sumber Utama, Deskripsi are the field names from Salesforce. You can find them from Setup > Object manager > Lead > Fields & Relationship.

The output variable ID is the case ID returned from Salesforce.  



Congratulations! 

Anda baru saja berhasil menghubungkan Salesforce dengan WhatsApp dan/atau Viber untuk membuat prospek dan kasus bagi tim Anda guna memungkinkan keterlibatan yang lebih cepat dan mendorong prospek yang lebih berkualitas.

If you have any questions about your new flow or our Salesforce integration, please reach out to us here.


Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> ke right person -> di right time.

By clicking "See Bird" you agree to Bird's Pemberitahuan Privasi.

Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> to the right person -> di right time.

By clicking "See Bird" you agree to Bird's Pemberitahuan Privasi.