hack4vdb / anthill

2 stars 1 forks source link

VdB email/optin system & domain integration #79

Open c3o opened 8 years ago

c3o commented 8 years ago

User DB integration

Actions we will notify the CRM about:

Endpoint documentation https://hack4vdb.slack.com/files/officerm/F24R4KHE1/crm_dokumentation.pdf

We need from them:

anonjum commented 8 years ago

we want salutation!

and when they send us user data they also have to send there hashed unsuscribe.

looks like this.

(pls dont click or N--- H--- wont receive any further emails from the campaign)

hXXp://www.vanderbellen.at/newsletter/?state=disabled&mode=unlist&contact_id=190954.contact&contact_pass=YjGl3uIWJg9R&action_id=191%2F770&disabled=1&todo=newsletter_disable

maybe we also want contact_id, thats the id that the crm uses to identify users.

MSch commented 8 years ago

Edit: Moved spec to https://gist.github.com/MSch/aafddb1292d87123732cefb005729fd7

anonjum commented 8 years ago

If I understand this correctly, if I send this entire text to a somewhat capable programmer with access to the system he will know what to do?

Question: What if there is no success (probably a stupid question):

On success the endpoints responds with HTTP 200 OK and an empty response body.

MSch commented 8 years ago

If I understand this correctly, if I send this entire text to a somewhat capable programmer with access to the system he will know what to do?

Yes

What if there is no success (probably a stupid question):

It will error somehow. The programmer will figure it out.

Also this is just the spec, it's not built yet!

anonjum commented 8 years ago

Ok, but I can talk to him tomorrow and ask him how long his side will take and how much it will be?

MSch commented 8 years ago

Yes. And no ausreden, there is nothing hard about this.

anonjum commented 8 years ago

So no question if this is possible? How much coding time should it take

I mean, not you. An average coder... (1h, 10h, 10min)

MSch commented 8 years ago

@anonjum give them this link https://gist.github.com/MSch/aafddb1292d87123732cefb005729fd7

anonjum commented 8 years ago

Do we have an instance checking if emailaddress already exists in our database? What if someone signs up on our page, then signs up through vdb.at/mitmachen? And what are the minimum infomation we require?

Firstname (if we dont have that we cannot send initial emails with firstname-- thomas ist dabei) email address plz

correct?

MSch commented 8 years ago

Do we have an instance checking if emailaddress already exists in our database

Yes we will have to check that.

What if someone signs up on our page, then signs up through vdb.at/mitmachen

Then we will update their data

And what are the minimum infomation we require?

All, but if they don't have it it can be blank.

PeterTheOne commented 8 years ago

I mean, not you. An average coder... (1h, 10h, 10min)

Between 1h and 10h, leaning to 1h. Also he could give us access and we could do it.. :P

benfreu commented 8 years ago

In our email templates we only send "Hello, first_name" sentences when we have a first_name. So no problem for us if its blank.

c3o commented 8 years ago

Updated issue to changed requirements. The discussion above is probably irrelevant/misleading.