# How to get the items from a localDB to whatsapp as a summarized bill?

**URL:** https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [June 15, 2022, 1:43pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469 "2022-06-15T13:43:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dhanushan48608nkfw](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dhanushan48608nkfw](https://community.thunkable.com/u/dhanushan48608nkfw)
#### Post date: [June 15, 2022, 1:43pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/1 "2022-06-15T13:43:32Z")

</div>

My app is required to send the cart items(Local DB) to the user’s whatsapp as a purchase bill. How to do that? I’m having trouble with adding all items together and create the bill automatically

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 15, 2022, 2:03pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/2 "2022-06-15T14:03:33Z")

</div>

WhatsApp allows two method of communication; the free way using the URL ([Share on WhatsApp](https://wa.me/15551234567?text=I'm%20interested%20in%20your%20car%20for%20sale)).

The other way is to create an account in Facebook and use the WhatsApp business to communicate and even run scripts to auto respond but this is chargeable.

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [June 15, 2022, 2:04pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/3 "2022-06-15T14:04:11Z")

</div>

You can join all text togheter with the join block and then share the text through the sharing component.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 15, 2022, 2:05pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/4 "2022-06-15T14:05:44Z")

</div>

> [@sketch](#):
>
> join all text togheter with the join block

Remember that you have a maximum number of characters of 256 (this is wrong. It should be 2048). If the detailed bill is over this number of characters then this will not work.

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [June 15, 2022, 5:43pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/5 "2022-06-15T17:43:21Z")

</div>

> [@muneer](#):
>
> characters of 256

I didn’t know that.  
Is it for all strings?  
Or only for a Bill?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 15, 2022, 6:19pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/6 "2022-06-15T18:19:44Z")

</div>

> [@sketch](#):
>
> for all strings?

I was wrong. It is 2048 characters.

 ![Screenshot_2022-06-15-21-17-42-48_40deb401b9ffe8e1df2f1cc5ba480b12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/8/e859e81a5f2cdda3fe79b0e911890c5380979709.jpeg)

This is the maximum although the new version of Chrome allows up to 2MB of string.

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [June 15, 2022, 6:37pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/7 "2022-06-15T18:37:18Z")

</div>

Oh it’s for sharing now i get it.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [September 13, 2022, 6:38pm UTC](https://community.thunkable.com/t/how-to-get-the-items-from-a-localdb-to-whatsapp-as-a-summarized-bill/1926469/8 "2022-09-13T18:38:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
